Allow form to stay modal after uploading file

Use HTML5 FormData browser API together with FileList API to make
possible AJAX file uploads (see http://tinyurl.com/kmznw2n on FormData
examples). Feature detection is the same as in jQuery Form Plugin (see
http://tinyurl.com/n6v5dsx). Browsers without FormData support (most
importantly, IE<10) do not support setting custom AJAX request
headers, so form with File Upload field will lose modality in them
anyway.

Change-Id: Id3b91a49a71c6de314c6a7cbee5357fe13679490
Closes-Bug: #1158501
Adds keypair create,delete integration tests

I have added test_keypair.py which tests create keypair and delete
keypair methods. And to allow this I have added keypairpage.py with
two methods to create and delete keypairs. I have added
accesssecuritypage.py which has_click_on_keypair_link method.

Partially implements blueprint: selenium-integration-testing

Change-Id: I9f8680fb51aa7dcf249e7487efa46240200a0ef2
Initialize table action buttons for lazy-loaded tabs

Various checkbox elements listeners that were set only for
horizon.tables should also be set for tabs which are lazy-loaded
(namely, are defined with `preload = False`) - so, they were moved to
a separate function and reused.  Provide tests for the fixed js
regression using SeleniumTestCase with authorization backend being
stubbed out. This allows to use lazy tabs defined in django code
instead of writing html fixtures (as done for QUnit tests).

Change-Id: I39954ddb439f97238511f6eee5f992213690846f
Closes-Bug: #1191006
Exception handling is captured correctly when deleting a container.

When deleting a container that is not empty, the exception code
does not send the error message through exception.handle. Instead,
it raises an exception which causes an error when Horizon is no
longer in debug mode.

Change-Id: Iee8601c5b0f831b2dd598accfdc58cb8130cca13
Closes-bug: 1355405
Add Volume Snapshots table to Admin Volumes

This is part 2 of the work for the BP. The Volume Snapshots table
resides inside the new "Volume Snapshots" tab which is the second tab
within the Admin Volumes panel. There are two table actions: "Delete
Volume Snapshot" and "Update Volume Snapshot Status". The Update
Volume Snapshot Status action implements a cinder command that was
only available through CLI as per stated in the BP.

Change-Id: Ife2da2c142467e47a7ac5bfcb8a477ff578b4d39
Partial-Implements: blueprint cinder-reset-snapshot-state
Closes-Bug: #1332077
Change value of None in encrypted volume field from "Maybe" to "-"

This makes it clearer to the user that information about whether the volume is
encrypted or not is not known.

Implemented by moving from standard yesno filter to filtering the value of the
encrypted field in the function get_encrypted_value

Change-Id: I14d157752e565fce68248af6c53a586ccf6c39be
Closes-Bug: 1354583
Imported Translations from Transifex

Change-Id: I579ee5040128b45fa10beca4980feb6696095938
Merge "Add Volume Snapshots table to Admin Volumes"
Merge "Allow form to stay modal after uploading file"
Merge "Imported Translations from Transifex"
Stop preloading the Volumes tabs

It can take quite a long time to make all the API calls. No need to
preload all the tabs before they're actually needed.

Change-Id: Ia3b6b114f976429e82cfc5664c3172a9302703c9
Closes-Bug: #1334608
Fix list of possible trove instnace status choices

The current list of available status choices for a
trove instance is out of date.

Updated the list with the latest information from
the trove runtime

Change-Id: I32833837980415f922964896a3ac4ba74147e72e
Closes-Bug: #1356577
Updated from global requirements

Change-Id: I0fdf625938e74a31883024a57ba580680f235670
Imported Translations from Transifex

Change-Id: I9296ad4e68a74a645e2f68cd08b621000fc1aa51
Merge "Updated from global requirements"
Remove redundant template from data_processing/data_plugins

Remove 'project/data_processing.data_plugins/_versions_list.html' template
and make a list of versions at the plugins table using standard Column
class attributes.

Closes-Bug: #1356821

Change-Id: I8121bb658f9799f6cfa7738cdbb5cfa9bbf39cfe
Merge "Initialize table action buttons for lazy-loaded tabs"
rename pagination 'More' link to 'Next'

The term 'More' is not standard and suggests appending more items
to the existing table rather than going to the next set of data.

Change-Id: I47f06f43e60012f502e70817feccf458fca7eef2
Closes-Bug: #1323880
Merge "Adds keypair create,delete integration tests"
Merge "rename pagination 'More' link to 'Next'"