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
Log CDN request timeout with level INFO.
Remove duplicated data from legacy events

When event-tracking was fully integrated into the platform, some data was replicated in the context in the middleware and then later extracted and moved the old location by event-tracking. The legacy code path was not updated to remove this transient shim data from the context resulting in duplication of the information. This patch ensures that the transient information is removed from the context before emitting the event.

Fixes: AN-2369
Use data dir from course.
In legacy dashboard changed make_usage_key() to make_usage_key_from_deprecated_string().

LMS-11146
Remove import.
Use the CDN-friendly URLs for the Powered-By logos
Update translations (autogenerated message)
Careful identification of "dashboards"
ORA2 release-2014-07-28T12.09
Merge pull request #4556 from edx/usman/lms11146-download-csv-of-responses

In legacy dashboard changed make_usage_key() to make_usage_key_from_deprecated_string()
Merge pull request #4427 from edx/usman/lms6507-mako-dir

Use /tmp/mako_lms and /tmp/mako_cms for compiled mako templates.
Merge pull request #4579 from edx/will/ora2-release-2014-07-28T12.09

ORA2 release-2014-07-28T12.09
Merge pull request #4577 from edx/sarina/072814-language-update

Update translations (autogenerated message)
Update email address
BLD-1091: Hide user_partitions from Advanced settings.
Allow external_auth registrations to bypass PW complexity check
Merge pull request #4492 from edx/ned/poweredby-logos-on-cdn

Use the CDN-friendly URLs for the Powered-By logos
Fix call to cohorts