Fix main.py to work with Python3

main.py is only for internal use, the public API of langtable
already worked for Python3.
Do not use translations tagged with 'variant' in CLDR

Mistake pointed out by Abdussalam Abdurrahman.
Rename Uyghur keyboard cn(uig) → cn(ug)

Changed by Abdussalam Abdurrahman in xkeyboard-config-2.12
which is included in Fedora 21 Alpha.
Release 0.0.28