Move common compute clients to the setting method

There is a _set_compute_clients() method for setting compute clients,
but there are some compute clients settings at the outside method.
So this patch moves them into the method for cleanup.

Change-Id: I2ac68f3640ed8f17e088dec06dc4a5054a953f45
Fix inheritance for BaseTestCase

This commit fixes the inheritance around the BaseTestCase definition.
Previously there were a couple of things wrong with it, first the
mixin order was incorrect, secondly the use of ResourcedTestCase
wasn't actually needed since testresources isn't actually used
anywhere. The other part of the fix was the hack for python2.6 to
also add unittest2 to BaseTestCase is not needed now, because
testtools now uses unittest2.

As a part of this fix the base CLI test class has to be reworked to
change how tempest-lib is used. By fixing the inheritance on
BaseTestCase a conflict occurs with the class test used from
tempest-lib. The recommended usage pattern for tempest-lib will have
to be rethought. But, in the mean time this commit just adds the code
which would be inherited from the mixin in tempest-lib directly. It
should be removed when tempest-lib is updated to accommodate this use
case.

Change-Id: Ia5dda59f7989f37997276cbd19bb9fdc7b7d2624
Enable v2 api for volume and snapshot tests

For volume action tests, name field of the volume is updated with
the cinder v2 api.
For snapshot action tests,admin_snapshots_client is moved to base class
and name field of the snapshot is updated.

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Iba7fd236c752ea15b73fd308ec6e3475cf42af9c
Enable cinder v2 api for volume type extra specs tests

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Iae139bacc637c0078fe419c904d3ba5336fe5721
Add config options for XML support in Keystone

This will allow us to remove XML support from Keystone in Kilo, but keep
testing XML support for previous releases.

Devstack patch for stable/icehouse:
  Ibb402640c5b744f1ea38ce548994079996c72508

Devstack patch for stable/juno:
  I576c93303575812c44afa36ad18205ecbc494e5f

Change-Id: I823fda34081f28863fcc6a3889f5f04a87134b38
Merge "Move common compute clients to the setting method"
Add internal methods for setting volume clients

There is a lot of volume clients settings, and the setting order is
mess now. That is not readable. This patch adds internal methods to
set volume clients for cleanup.

Change-Id: I98392d926938d10495087e66305064fe564855bb
Merge "Fix inheritance for BaseTestCase"
Merge "Enable cinder v2 api for volume type extra specs tests"
Merge "Enable v2 api for volume and snapshot tests"
Merge "Add internal methods for setting volume clients"
Merge "Add config options for XML support in Keystone"