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
Update xblock-mentoring.

Update reference to the xblock-mentoring repository.

A bug where answers containing the string "??" would get mangled by jQuery has been fixed in xblock-mentoring.
Update link to Jasmine documentation
Fix small i18n typos
Merge pull request #4511 from edx/sarina/fix-i18n

Fix small i18n typos
Adds sample student communications (email msgs)
Merge pull request #4400 from edx/ahodges/documentation/DOC591

Adds sample student communications (email msgs)
Add myself to AUTHORS.
Merge pull request #4521 from edx/jeskew/update_authors

Jeskew/update authors
add initial_state attribute to jsinput tag
Getting draft split_test_module instances to import/export.

STUD-327
Added text about grade ranges and certificates
Merge pull request #4529 from edx/markhoeber-documentation-doc420

Added text about grade ranges and certificates
Merge pull request #4491 from edx/christina/export-split

Getting draft split_test_module instances to import/export.
Release notes for 7-23-2014
Merge pull request #4531 from edx/sylvia/docs/relnotes_7_23

Release notes for 7-23-2014
Make overriding branch settings thread-safe LMS-11125
Merge pull request #4494 from edx/nimisha/request-cache-for-branch-settings

Make overriding branch settings thread-safe LMS-11125
Split branch settings LMS-11056