Make course xml export work for all modulestores

Also let xml import work on modulestores that don't use write signaling