Move DTD manipulation to separate class.
Fix imports.
JavaDocs.
Make XHTML+MathML DTD injection optional.
Add option for selection of XHTML+MathML DTD injection mode from the command line.