wiktionary: pep8 changes, small code improvements

Change-Id: I1bb2f0ee00a881a31e35a1204dc07b893b9aaf3c
Merge "wiktionary: pep8 changes, small code improvements"