Return the correct ec2 access/secret when generating ec2rc.sh.

Fixes bug 1014185

Horizon was returning the 1st ec2 pair instead of the one
linked to the tenant for users in multiple tenants.

Change-Id: Ie392b58a776f2fe7dfdbe22d8558c88e96e37082
Ensure existing image properties are not deleted

Fixes LP #1014226

Passing the X-Glance-Registry-Purge-Props: false
header to the image_update Glance client method
prevents previously-set image properties from being
marked deleted.

Change-Id: I91e927f8c95205cae11bad0d93361f1c9951d62d
Updated status messages after launching multiple instances

fixed strings so that they are localized

Bug#960040

Change-Id: I558d942e828570233f4ea43d910820dab7cadbd0
Login/Logout redirects with Django variables

The login/logout url patterns now use
the Django LOGIN_URL and LOGOUT_URL

The default redirect url after a successful login
now uses as default the Django LOGIN_REDIRECT_URL
with possible override using HORIZON_CONFIG.user_home
in settings file. There are 3 cases:

* no user_home in settings.HORIZON_CONFIG - uses
Django LOGIN_REDIRECT_URL
* user_home = None in settings.HORIZON_CONFIG -
will default to the primary dashboard(the current
fall-back behavior)
* user_home = 'something' - it will be used to
determine the actual redirect url

Fixes bug 980434

Patch Set 2:
Restored the previous behavior - splash page('/')
redirects to /nova or /syspanel, depending on the user,
while /home/ will redirect to the 'user_home' setting
(or LOGIN_REDIRECT_URL if user_home is not set).
The same logic will be applied after user logs in.

Change-Id: I28e25566199393382639da9ca2022d1850f25a94
Reduced height of modal dialog textareas in dashboard

Bug #1016317

Change-Id: Iaab30398f2a667b5a38b5f99f6b84870b43b3331
Use horizon's panel template loader.

Moves the panel templates into their respective panel's directories.
This tightens the grouping of logically-related elements and reduces
the need to duplicate the entire dashboard structure in the dashboard's
templates directory.

Implements blueprint use-template-loader.

Change-Id: I05ffb6a96f4909c1285beda7874ccfa96404547f
Merge "Updated status messages after launching multiple instances"
Merge "Login/Logout redirects with Django variables"
Merge "Ensure existing image properties are not deleted"
Merge "Return the correct ec2 access/secret when generating ec2rc.sh."
Forcing Horizon to use PEP8 1.1

Until we have time to upgrade to 1.3 and
deal with all of the new whitespace
requirements that comes with it.

Change-Id: I3b1b28c6e96e50bae45db4e4999d6144774d93ed
Corrections for stricter pep8 checking.

Updates the code to reflect stricter pep8 checking standards
for pep8 1.3+. Also adds a pep8 config file to silence
unnecessary indentation errors.

Removes the "reverse bugfix" monkeypatch since Django 1.4 is
now required.

Implements blueprint upgrade-pep8.

Change-Id: I7343321627d8ccd1598f39323821133168a645cc
Tweaking admin warning dialog HTML.

Change-Id: I7a252bd9b265dea9245d1b7673946c2bfad07902
JavaScript Refactor.

Cleans up Horizon's JavaScript to make it properly modular and
well-organized.

Adds unit tests written in QUnit for some of the JS modules
as a starting point for the JS test framework. You can visit
/qunit/ with DEBUG=True in your settings to access the JS
test runner.

Fixes bug 961509.

Change-Id: Ica33765660d0ed80f22c71bc96f122c3fc8b80cc
Fix Project Overview link to use instance_id

Fixes Bug #1003299

Tenant Usage API has been updated to include
instance_id in the response (bug 1003093). The
link has been updated to used instance_id.

Change-Id: I9d5fcf120b1e5966a5e019e5b17dea7806f20650
Merge "JavaScript Refactor."
Merge "Tweaking admin warning dialog HTML."
Removed new lines when importing a keypair

Fixes bug 988139

All new lines (\r, \n) are removed from input
when importing a keypair. This is done as sometimes
a user copies the public key from terminal, with
new lines in it. As new lines are not allowed in
a public key, so they are stripped.

Change-Id: If526bf081448e315f3518d7ecd2689ec816b77a7
Merge "Fix Project Overview link to use instance_id"
Make TIME_ZONE a local settings with a sane default.

Change-Id: Ib441d3ca0e2f0d70eb6fd372e42c363be1090511