Generate classes based on the mozilla parser api

- now can filter based on types
One-line docstrings can be one line; no need for trailing space. Second to PEP 8, http://legacy.python.org/dev/peps/pep-0257/ is the one I always point people to.