Add defininition of window.location.origin in both CMS/LMS

The same bug in studio was fixed in #3893, and as TinyMCE is also used in LMS, it should be also fixed in LMS.
Here a common javascript file called 'ie_shim.js' is added, so that in the future it can be used for other IE compatibility purposes too.
Use /tmp/mako_lms and /tmp/mako_cms for compiled mako templates.

Currently a new temp directory is created for every process via
mkdtemp_clean() which cleans it on process exit.

However, this is not compatible with using --preload option of
gunicorn. With this option the tmp directory is created on gunicorn
start and is shared by all the workers. But when a worker exits it
deletes the directory. And so on the next requent the tmp directory
needs to be recreated and the templates need to be recompiled.

LMS-6507
add initial_state attribute to jsinput tag
Bugfix: Initialize new tabname to "Empty"

In Studio, when the course administrator creates a new tab, its name was being
initialized as null in the mongo database. This caused students in LMS to get a
server error when trying to access the course page, since LMS was trying to
process the null tabname for translation, etc. Now tabname is initialized as
'Empty', which is how it was being done in the frontend.

STUD-2000
BLD-1110: Create, edit, delete groups.
Add correct_or_past_due option for showanswer and update relevant documentation
Add Martin Segado to authors file
Merge pull request #4480 from edx/anton/create-edit-delete-groups

Group Configuration: create, edit, delete groups
Log CDN request timeout with level INFO.
Add support for theme translations and LANGUAGE_DICT override
Improvements to clicking and synchronization in Studio bok-choy tests.
Merge pull request #4209 from msegado/showanswer-correct-or-past-due

Add "Correct or Past Due" option for showanswer
Merge pull request #4533 from Stanford-Online/kluo/i18n-support-theme

Add support for theme translations and LANGUAGE_DICT override
Use a version of opaque keys that identifies version numbers in the key prefixes
Merge pull request #4465 from edx/zoldak/fix-studio-clicks

Improve clicking and synchronization in Studio bok-choy tests
Make test_export_all_courses do not rely on the order in which files are returned by os.walk().
Disable failing test STUD-2003
Merge pull request #4546 from edx/zoldak/disable-test

Disable failing test STUD-2003
Merge pull request #4474 from Stanford-Online/sjang92/null_tabname_bugfix

Bugfix: New Tab name being initialized as null
Merge pull request #4543 from edx/tim/test_export_all_courses-was-flaky

Make test_export_all_courses not flaky