Code review based fixes:
nitpicks
style
L70-71: subprocess at top of sysadmin
L77: git log —format
L351: modulestore type check - use isinstance and if not xml use mongo so that mongo is used in mixed modulestore
L91: split mongo import and xml import
L258: Use setting for eamap, do_mit, etc