Infinite volumes quota shows as 'inf'

When the volumes quota is set to -1 (either in the defaults panel or for
a specific project) in project overview it shows as "inf" instead of "No
Limit".

Change-Id: Ia6ea4ca56008168a63527ef5c32375070bc2b467
Closes-bug: 1271629
Adding policy checks for glance

Additionally, added the missing policy checks on Image panel.

Change-Id: Ia9fa2fcdfb12f97ff27150a69d964be47ab717cf
Implements: blueprint image-rbac
Updated from global requirements

Change-Id: I469f7677d812cb54bf6b30c4149652ba419255b4
Volume status must be available to extend

Change-Id: I3e149249db0a44be6531dc409176c698819be317
Closes-Bug: #1277570
Fixes instance double delete via row_action

Currently when an instance is terminated, via the project/instances view,
a "Terminate Instnace" button appears in the row_action column.

This is due to a the TerminateInstance class's allowed() method always
returning true.

By putting logic in this method to only allow the terminate row_action
when an instance is *not* being deleted, we prevent the double delete from
occurring via row_action.

Change-Id: I23e759036c8f6c35331243717853c8a5e269fa75
Closes-Bug: 1278487
Add month to date option for Resource Usage

Adds a new option to the date options combo box to show
month to date. Has about the same approximate resolution as "Last week"

Change-Id: Ia5975ba0c57abec5e5deafca1a05741e228fa8d0
Closes-Bug: #1278642
Refactor large method into 4 methods

In trying to reuse some of the code in views, I realized that the get method
for SampleView is quite long.
This change breaks this method into 3 functions.
The get method now is responsible for parsing HTTP arguments and formatting
AJAX response. The other functionality has been pulled out.
One of these functions (query_data) can be used by other views in the future.

Change-Id: I9a71bf62eb871ac9c082208e991402f0c700c668
Closes-Bug: #1278654
Merge "Infinite volumes quota shows as 'inf'"
Merge "Adding policy checks for glance"
Merge "Fixes instance double delete via row_action"
Merge "Updated from global requirements"
Merge "Refactor large method into 4 methods"
VPNaaS tests refactoring

This patch set removes some redundant code from
VPNaaS tests.

Closes-Bug: #1278823

Change-Id: I09a3a05febe173239434502fac20fe0b01ccab6c
Merge "Add month to date option for Resource Usage"
Merge "Volume status must be available to extend"