gluegen: remove unused imports, unneeded semicolons, add missing @Override annotations
gluegen: remove the unused reverse map from TypeDictionary
gluegen: relax private variable access to package-private for members accessed from inner class

Otherwise the compiler has to fill in a wrapping access function for the inner
class to call, which is less efficient.