Cleanup AstTreeDumper, AstTransformer

Removes cruft from copy of ModelTreeDumper, and fixes trailing spaces
on empty lines.
Update egrammar lexer to latest standard.