Parameterizing edx git repository location

* Creates global variable $platform_code_dir to store
  /opt/wwc/edx-platform, to replace the semihardcoded /opt/wwc/mitx that
  we had before.
* Plugs $platform_code_dir in a lot of different places
* Templatize sef's update script hack