use LOM ordered attributes when stringifying if present (Danny).
basic parser handles comments, and HTML mode is working nicely with real-world HTML