Complete rewrite of jpype for compatibility with Python 3, Python 2 and ruby