Generate classes based on the mozilla parser api

- now can filter based on types
What do you mean about mro?

It is much better in 3. If we're going to have to repeat ourselves anyway, though, we might as well be multiple-inheritance-safe.