Lonely Planet writer admits lying and plagiarizing