Upgrade bootstrap-datepicker.js to latest version

Upgrade required to fix bug where date selection from previous and next year was wrong.

Closes-Bug: 1270884

Change-Id: I7cb6f7f5fd0a709cbf0c1325e832c92ec382b12c
Update Launch Instance button with ajax

Launch Instance button updates after instance has been terminated:
- added html temlpate for table actions
- ajax-update and update-url classes were added for link actions
- update all required actions via ajax when rows were removed from the table

Closes-Bug: #1192621
Change-Id: I81e8ea4e1921bbf344d210ba3353d51d4c11a7d1
Add dependencies on Quick Start page.

Change-Id: Ifc69ae397519c05d778d4d15062c00ae8e425b9d
Closes-bug: #1231227
Adding policy checks for heat

Change-Id: Ia454eefbaaf0c6262bfcc2890dead4d074555404
Implements: blueprint heat-rbac
Fixes some column translations

add more entries to "display_choices" of "Status", "Power" and
"Task" column, in order to get the states translated.

Closes-Bug: #1224329
Change-Id: I22ee666678c8bce24c2d6c696438b481006bd609
Enhanced error message when router creation failed

Changed error message to show when the router creation
fails due resource quota restrictions.

Change-Id: If5a43d4132adc653694cc42c3d658ca2d88adc33
Closes-Bug: #1278482
Group specific fields in horizon.form module

    According to the Django architecture, all fields are grouped in
the django.form module, Horizon fields were dispatched in two modules
utils and form. This patch cleanup the loading of Horizon specific
fields.

Change-Id: Ib18848a8cc06dbd5984ec02d7cd647145124ced4
Closes-Bug: #1287634
filter always returns the last created item

Problem: if you create several new volumes and then do a search for
the first item you created, the last item *always* shows up
You have to refresh the page to get the proper behavior

This fix updates the quicksearch data cache when a new row is added

Change-Id: I4b5d5b6b9783d09a28460cab7c182f1bb2aa2a3e
Closes-Bug: #1277103
Fix middleware to not access session fields without user auth

Change-Id: Idc2b71aa9ca08570e870ac6e356211dfbaa7a726
Fixes: bug #1211535
Allow 'Manage Host' to show membership action

Now on the 'Manage Host' page shows also the membership
option to be opened on a new tab.

Change-Id: I73c431232650c00cb5dcbac5a96382a4247690cb
Closes-Bug: #1288280
Fix distribution pie chart

When all values are zero, distribution pie chart should render as
an empty chart.

Change-Id: I5b08f6ed3d65029b75c4bb23c162fc45ac4e45ff
Closes-Bug: #1288698
Tell users when there is no data available in Daily Report

Here is the text from the bug:
If there is no metering data from the period selected,
user sees panel with no tables. It would be nicer to tell user that this is because there is no data to show.

The Daily Report displays one table per project. Since there is no data, then there are no tables.
This change displays the string "No data available" in this situation. This is the same
behavior as the Stats tab in the same Resouce Utilization Panel.

Change-Id: I15a5e029ec97d77c95c2567e8ba4493623952de7
Closes-bug: #1287931
Fix Membership list loading bug

When loading a page on its own that contains the membership workflow,
the member lists would not get populated.

Also include a Selenium unit test to avoid similar regressions in the
future.

Change-Id: I5f23da271313f3ddf4acded221864ef5ba83f0eb
Closes-Bug: #1288270
Enforce length checking for instance name field

Add the max_length checking for instance name field in Update Instance.
Also changed the max_length value from 80 to 255 in Create Instance
to match the backend's restriction.

Change-Id: I52398a13a545449699a7209db49c06859daa9463
Closes-Bug: #1279590
Hide column on multi_select tables if no actions available.

This patch will add a runtime check to hide/show checkbox columns
on multi_select tables.
Right know the behaviour is calculated once but does not take in account
the dynamic allowed call of each Table Action available.

The change will add 'hidden' class to the first column if table actions
are present but all of them returned False on allowed() call.

Change-Id: Ia4512abe3dbb5de4581673717eb518b2d3a50291
Closes-Bug: #1271194
Redirect to the proper tab on creating vol/snap

Automatically redirect user to snapshot
tab when creating an snapshot from volume
and redirecting to volumes tab when creating
volume from snapshot

Change-Id: I097383a470be9727c93f61efcf1dfe0359613413
Closes-Bug: #1288304
Remove verbose_name from hidden fields

verbose_name is unnecessary for hidden field.
Some verbose_name does not have much meaning
(it is just a mirror of form field name), but
it is marked as translated and such strings
are difficult to translate. To address this,
this commit cleans up verbose_name of hidden fields.

Change-Id: I14fc242f90ce22abe5a0517b44968c2a98f97f48
Closes-Bug: #1291548
Host aggregates missing the metadata column

When the Host Aggregates table was moved to its own panel, we lost the
'metadata' column. Bringing it back. It contains useful information and should
be displayed in the table.

Change-Id: Ic87c31904ead459cbee2283268f8b30ce7d47acf
Closes-Bug: 1289466
Fix unbound local error in instance DetailView

If an error is raised in the instance DetailView we assume that a
redirect will be raised. However, certain exception classes will not
result in a redirect when handled by the standard Horizon exception
handler. If the error handler doesn't re-raise some sort of error,
control will be returned to the statement after the except block and
some of the necessary local variables may be unbound.

This fix simply ensures that an errors result in a redirect so that
we never end-up in a situation where the instance variable is unbound.

Change-Id: Ica9a09c9236bb50206277425633d63a8e7387401
Closes-Bug: 1291021
Remove I18N strings from test/settings.py

There is no need to mark strings in test/settings.py translatable.

Change-Id: I7ee8363ceb018a75fd6f785ed2fcef209068d883