Refactor all the parsing/building, add prototype Parsoid parser.