XRENDERING-258: Convert Pegdown AST to an XDOM instead of relying on the Pegdown HTML renderer
* Clean up tests