Separate tags file for Java + separate autotags.py

Using a separate file for the python code is a big speedup, as we can now
benefit from the Python bytecode.