Cleanup some xmodule tests imports and data directory location
Modify export_to_xml to take an optional contentstore and work with xml courses