Fix extension parameters in test_multiple_create

In create() method of server, nova API parses extension parameters
from each extension's server_create() method by the following call:

   self.create_extension_manager.map(self._create_extension_point,
                                     server_dict, create_kwargs)

block_device_mapping value is parsed from 'os-block-device-mapping:
block_device_mapping' in os-block-device-mapping extension, and
min_count value is done from 'os-multiple-create:min_count'.
This patch fixes some wrong extension parameters in unit tests.

os-block-device-mapping extension calls BlockDeviceDict.from_api()
method for getting bdm_type and uuid from "source_type" and "uuid",
but current these parameters also are wrong.
This patch fixes test block_device_mapping values also.

These bugs were found through jsonschema validation framework
development, because the framework doesn't allow undefined
parameters based on each schema.

Change-Id: I0d5899c84c7a7f2938a553d7ce845f855f1dfd7a
Port os-server-groups extension to work in v2.1/v3 framework

Ports v2 os-server-groups extension and adapts it to the v2.1/v3 API
framework. API behaviour is identical with the exception
that there is no support for XML. Also

- unittest code modified to share testing with both v2/v2.1
- Adds expected error decorators for API methods
- Adds api sample tests

Partially implements blueprint v2-on-v3-api

Change-Id: I52e49e6e85a7516e3b184601374e5c987f60a9a0
Convert create_backup v3 plugin to v2.1 API

Changes required to have v3 plugin natively support the V2.1
API

The create_backup action is reverted back to createBackup

Partially implements blueprint v2-on-v3-api

Change-Id: Ibac7eb2644629f4b9cf0581d9859b97f263972c8
Cleanup of V2 console output tests and add missing tests

Cleanup of console output tests and adds missing tests
added to V3 as well as a test to check when the length is
None

Partially implements blueprint v2-on-v3-api

Change-Id: I47b74bcea19914188a58787517d358657c306f18
Backport V3 hypervisor plugin unit tests to V2

This patch backport some of the V3 hypervisor plugin unit tests
to V2 unit tests.

Change-Id: Ieeadb66dcd142c1919912703b4e410cfa1aa15f2
Port simple_tenant_usage into v2.1

The simple_tenant_usage extension is removed from v3 API. For now,
we need porting it back. And also try to share unittests between v2
and v2.1.

Partially implements blueprint v2-on-v3-api

Change-Id: Ie0c36fcd37fb188c1f1b57f04733bfa267b65201
Merge "Cleanup of V2 console output tests and add missing tests"
Merge "Convert create_backup v3 plugin to v2.1 API"
Merge "Port os-server-groups extension to work in v2.1/v3 framework"
Merge "Fix extension parameters in test_multiple_create"
Merge "Backport V3 hypervisor plugin unit tests to V2"
Merge "Port simple_tenant_usage into v2.1"