Nearley needs more objectness

- prepare for browser use
- drop boilerplate from generated grammars
- make grammar diff'able
- make Rule a proper object factory