Fixed some encoding bugs in wordnet_app.py, cf https://github.com/nltk/nltk/issues/535

Fixed some encoding bugs in wordnet_app.py, cf https://github.com/nltk/nltk/issues/535