Enable Mixed Modulestore STUD-1540
Refactor get_parent_locations STUD-1663

 #Fix test_sysadmin.py.