fixed typo in comment.
fixed various typos, xml-ns issues and output formatting issues. dropped (optional) min/max attributes from sequence block output.
Merge pull request #238 from stopfstedt/curr_inventory_xml_export_fixes

various bug fixes to curriculum inventory export