Nearley needs more objectness

- prepare for browser use
- drop boilerplate from generated grammars
- make grammar diff'able
- make Rule a proper object factory
that will change the meaning of the -export option in nearleyc - is that what you are looking for?
should the default value of the -export option change to say 'grammar'?