Finished code comments in dom package.
Refactored tests, created test for OutputMarkupHandler
Created TextMarkupHandler
Fixed DuplicateMarkupHandler (missing events)