Revert "Remove quota_class db API calls"

This reverts commit 9c285c4bc777141edc80c6a40a3e1ff491aae217.

The quota_classes API was used to set default quota values
so it shouldn't have been removed, so reverting a series
of changes that removed the API and it's internal code.

Related mailing list thread on the topic:

http://lists.openstack.org/pipermail/openstack-dev/2014-May/035383.html

Partial-Bug: #1299517

Change-Id: I69e374cd0363bb7481c5bc96f1ba6415ac50fa81
Revert "Remove quota_class params from rest of nova.quota"

This reverts commit d1442a6aec5e1e20cb35627b77739dbe92770e7a.

The quota_classes API was used to set default quota values
so it shouldn't have been removed, so reverting a series
of changes that removed the API and it's internal code.

Related mailing list thread on the topic:

http://lists.openstack.org/pipermail/openstack-dev/2014-May/035383.html

Partial-Bug: #1299517

Change-Id: I839bb6570f5c189e04e284eda8cde7bc2ac29fdb
libvirt: remove redundant 'libvirt_' prefix in test case names

All the virt driver tests were moved into subdirectories
which are separate for each virt driver. There is thus no
reason to still have 'libvirt_' as a prefix in the filename
too.

A further problem with the current naming is that if you
want to just run the 'test_libvirt' test, a substring match
on that will also pick up other test suites (eg it will match
test_libvirt_config) and run those too. The renaming ensures
that no test name is a valid prefix for another test name,
making it easier to specify exactly which test file you want
run.

Change-Id: I9fe3dee5d7b7b834de84b719cab993969e34d16b
libvirt: merge two utils tests files

The nova/virt/libvirt/utils.py file had some of its tests in
test_utils.py and some in test_image_utils.py. Move them all
into test_utils.py, so the test filename matches the source
filename

Change-Id: I1001e1485646fc3546e86ddb25eb2d6ad8c88315
Merge "libvirt: remove redundant 'libvirt_' prefix in test case names"
Merge "libvirt: merge two utils tests files"
Merge "Revert "Remove quota_class db API calls""
Merge "Revert "Remove quota_class params from rest of nova.quota""