adding v2 support to cinderclient

This will allow the cinderclient to speak to the v2 rest api if it's
enabled in the cinder config. Includes additional v2 tests as well.

blueprint cinderclient-v2-support

Change-Id: I004134d9f528a6eadefdaa89eb48087bcae2691f
Handle metadata args the same for all calls.

key-create stored it's metadata arg as an appended list,
while create stored as strings.  The metadata parsing
is compatable with both, so let's just use the same
method of parsing in both of these methods.

Change-Id: I337068d45fa848d8621add29c91e4a43c9d7dc72
Fix upload-to-image volume_id help

It's not for taking a snapshot.

Change-Id: I3af4ea0e3657a2359fda55c890a030fabaad129d
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Merge "Fix upload-to-image volume_id help"
Merge "adding v2 support to cinderclient"
Fix typo breaking --debug option to cinder client

Fixes LP bug #1130730

Change-Id: Ia105e8a561b8d45c60e9a3c6ed46a953cc6df96f
Merge pull request #4 from openstack/master

Merging upstream/master