Added renderAST to js, added AST render tab to dingus.

Modified processInlines so it creates new objects instead
of modifying in place.  This way we can remove the extraneous
fields only needed for parsing.