Changing mitx to edx-platform and adding code_path param

These changes may be already made on another branch, not sure