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
adjusted styling of dashboard profile area to remove heavier gradients and other small cleanups
removed the discount value bug

check error handling if the discount value is not an integer
Fix unicode issue
Added item for Studio URL changes
Merge pull request #4503 from edx/markhoeber-release-notes-studio-urls

Added item for Studio URL changes to Release Notes
Merge pull request #4498 from IONISx/tusbar/fix-dump-grades-unicode

Fix unicode issue
User registration prevents using password as username.

Some users erroneously set their password as their username with the original layout, because the username field directly followed the password field. Users may be accustomed to the common occurrence of a password confirmation field directly following the password field.
To fix the issue, I did the following:
   - Moved the existing username and real name form fields above the password field.
   - Added a validation in the create_account handler in common/djangoapps/student/views.py, which confirms that the password field does not match the username field.

New tests created to check the added functionality.
Split get_courses_for_wiki implementation [LMS-2914]

- Move Mongo tests to mixed ddt tests
- Check if `fields` is None before updating search targets
- Fix for double course version
get_courses_for_wiki return course_keys across all modulestores [LMS-2914]
Merge pull request #4453 from edx/marco/dashboard-styling-tweaks

Visual styling adjustments to profile area on Course Dashboard
Merge pull request #4431 from edx/split/get_wiki_courses

Split get_courses_for_wiki impl
Merge pull request #4212 from Stanford-Online/ndupoux/fixing-registration-page

Ndupoux/fixing registration page
Merge pull request #4479 from edx/muhhshoaib/Ex-40-Coupon-discount-value-add-validation

Fixed the  discount value bug
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)