Add a Row check to enable/disable checkbox on ajax updates.

This patch allows to remove the checkbox after an ajax update for
instance when the resource changed to a state like DELETED so
it cannot be affected by Table Actions like 'Delete XXXX' after
object refresh.

Change-Id: I41e2339b035e784edfa57f27c1c25cf823e726d7
Closes-Bug: #1272694
Use the min_disk property for volume size

In the "Launch Instance" form/wizard, when selecting "Boot from image (creates
a new volume)" the "Device size" field should be prefilled with the highest
value among the "min_disk" properties of the image, and the image's size,
instead of the image size only.

This is because the image size is generaly a qcow compressed image and in
such case almost always far smaller than the min_disk porperty.

Change-Id: Ia18fd8f7550863177167ce2b0e727d064889b61c
Implements: bp prefill-create-a-new-volume-device-size-min-requirements
Add Daily Usage tab to Resource Usage panel

Added a new tab to Resource Usage panel. This tab prompts the user for
timeframe and then generates a report showing daily usage per project over the
indicated time frame with one table per project. This report shows all meters
collected summarized per day.

Originally I generated report with default settings initially but opted to only show
form first so that panel can load quickly.

Screenshots are available from
https://a248.e.akamai.net/cdn.hpcloudsvc.com/h6ede74dc88eef6ce6a4bd3a0697deb3a/prodaw2/report.png

Change-Id: I56103dc90b4931a5ab1a5c99bff28cb2d81fc522
Implements: blueprint daily-usage-report
Use six.moves.urllib.parse instead of urlparse

To keep Python 3.x compatibility, use six.moves.urllib.parse to
replace urlparse.

Partial-Bug: #1279611

Change-Id: Ie49589651ed80d8fc3196fb0750cbb04661c19cd
Keep py3.X compatibility for urllib

Use six.moves.urllib.parse instead of urllib

Partial-Bug: #1280105

Change-Id: Ie10e9fd8ff42b65b1610839eaeee09e3c56f2de7
List all tenant images/snapshots on admin images view

Admin's Images panel shows only instance snapshots of the project
selected on Projects tab .
Add the appropiate filter is_public: None to the list request.

Change-Id: I4963515d8dbdc89512258c30e3fad309f9720436
Closes-Bug: #1283258
sort flavors on Resize Instance modal

in the new flavor dropdown menu, it is sorted by id right now,
changed so that it matches that in create instance, sorted
 by ascending RAM usage

I refactored out the common flavor sorting code into instances/util.py
that is shared by create_instance and resize_instance

Change-Id: I40dedcf87dbcfb7128185445510d9ec96462abb2
Closes-Bug: #1279135
Fixing filesizeformat test issue with Django 1.6

In Django 1.6, the filesizeformat filter now applies
django.utils.html.avoid_wrapping to the formatted result. The end
result is replacing " " chars with "\x0a" a non-breaking space.
The string comparision of the error message in the affected test
was failing.

Adding a version check to allow support for Django 1.4 and 1.5.

Partially implements: blueprint django-1point6
Change-Id: I50f4c56f969d93b436abee6258e2e0102fd95784
Allow redisplay of the workflow from its handle()

Let the handle() method of the workflow raise a ValidationError to
indicate, that the operation failed and the whole workflow has to be
redisplayed for the user to correct the data and try again. It is
assumed that the handle() method will inject the right error messages
in the right steps and fields of the workflow.

This patch also cleans up the logic of the code a little, to make it
easier to read, and replaces the "next" variable that conflicts with
a python build-in with a more descriptive name.

Change-Id: I2fddb5ae8abbff72b8bf8258001a6f61aef3d1ba
Implements: bp/redisplay-workflow-after-handle-error
Merge "Fixing filesizeformat test issue with Django 1.6"
Merge "Allow redisplay of the workflow from its handle()"
Merge "sort flavors on Resize Instance modal"
Merge "List all tenant images/snapshots on admin images view"
Merge "Use six.moves.urllib.parse instead of urlparse"
Merge "Use the min_disk property for volume size"
Merge "Add Daily Usage tab to Resource Usage panel"
Merge "Add a Row check to enable/disable checkbox on ajax updates."
Merge "Keep py3.X compatibility for urllib"