Remove flavor-disabled related policy rules for v3 api

flavor-disabled extension have already merged into flavors core.
This patch removes those useless policy rules.

Change-Id: Ief2a96710cdfaee89c1864a8474b9db6d4b02cd5
Remove policy check in db layer for aggregates

Since there already are policy checks in v2 and v3 api layer,
no need to check again at db layer. This patch remove
that check for aggregates. Also added policy test
on api layer for v2 API(v3 already have),
removed 2 test cases in db layer focused admin context.

Change-Id: Ied1fd109be104a9539d1cad7937455852e20ffb2
Implements: blueprint v3-api-policy
Update policy check on each action for certificates

v3 api requested policy check on each action instead of the whole
topic, this patch update the check in certificates and add test cases
for v3 certificates api policy

Change-Id: I9433188beb1e085bc66fc013a285ca2c32fd08f7
Implements: blueprint v3-api-policy
libvirt: Adds missing tests to copy_image

Adds missing tests to the utility method:
  libvirt.utils.copy_image

Change-Id: I1802c26cd5ab9ea0df979cc18e73fb613b87b44e
Fix english grammar in the quota error messages.

The first one was already correct, but the verb was
missing from the minimum- and maximum-related errors.

Change-Id: I41a80db5d405e9882e356be4bb75ef26724f9824
Using six.add_metaclass

Using six.add_metaclass instead of '__metaclass__' for Python 3.x
compatibility.

Change-Id: I04848196c8bc553fec19dd447a8fdd6dacdf64b8
Delete baremetal image files after deployment.

Unlike libvirt where the image files are needed for running VM's, Nova
baremetal copies them to the remote machine, after which they are no
longer needed. Keeping them sharply reduces the scalability of Nova
baremetal by limiting a single nova-compute to deploy instances whose
disk size sums to it's local disk - but really only needs to be a
concurrency limitation + the kernel/ramdisk files, which are stored
separately.

Change-Id: I7f4791cbd3cff3a0edaccd308c1c47179a4fcf78
Co-Authored-By: Steve Kowalik <steven@wedontsleep.org>
Remove character filtering from V3 API console_output

Removes the character filtering from the V3 API console_output
extension as this was implemented because of a bug in the xml
library where some characters were not escaped correctly. We no
longer need to do this as we no longer support XML.

Partially implements bp remove-v3-xml-api

Change-Id: Id1501143eca17084d4079777a3c6f8c7157fbac7
Merge "Remove flavor-disabled related policy rules for v3 api"
Merge "Fix english grammar in the quota error messages."
Merge "Using six.add_metaclass"
Merge "Remove character filtering from V3 API console_output"
Merge "Update policy check on each action for certificates"
Merge "Remove policy check in db layer for aggregates"
Merge "Delete baremetal image files after deployment."
Merge "libvirt: Adds missing tests to copy_image"
Merge commit 'refs/changes/97/66597/4' of git://gold.eng.hq.xensource.com/git/github/openstack/nova into tmpbranch