Don't require ANTLR-generated code to build docs.

Make gen_referency.py work without ANTLR parser modules.

Mock the modules for use within Sphinx.  Sphinx 1.3 will make this
easier, but for now, use a solution suggested by ReadTheDocs' FAQ.