save invalid xml docs without DOCTYPE
Morpho currently allows users to create and save invalid doctypes locally. If
they send them to metacat, the invalid documents are rejected. We need to
enable morpho to save intermediate documents without a DOCTYPE tag and yet still
know what the intended DOCTYPE was supposed to be. This will allow us to save
the document on metacat without a DOCTYPE and then later recover it and finish
editing it as the intended doctype.