Added ability to fake packages on import.

- This is used in creating the docs, since Sphinx is in cPython
  and can't do the Java imports.