changes for python 3 compatibility
Token is an interface, move impl to CommonToken
clean up some pyflakes warnings
reorganize files to match java runtime
configure tests
cleanup imports