DE1 adding bar
check writer != null when closing MarcXMLWriter.  Add test case for DOMResult.
Merge pull request #42 from sesuncedu/xmlwriter_domresult

Fix NPE when closing MarcXMLWriter when Result constructor was used
Delete bar