Adds notifiers to both volumeTypes and volumeTypeExtraSpecs

1. add notifier to create and delete volumeTypes
2. add notifier to create, update and delete volumeTypeExtraSpecs

Implements: notifiers for volumetypes and extra specs
Fixes: bug #1176259
Change-Id: I30fe6cb764e5fda7c876a8b7256d9b0c0f4a7fdd
Imported Translations from Transifex

Change-Id: I914bbfd068b5a0fcfa29e6ff7ecd217e5ec49616
RemoteFsDriver: copy_image_to_volume and copy_volume_to_image

This functionality was recently added to the NFS driver --
it should instead be added to the RemoteFsDriver class to cover
both NFS and GlusterFS drivers.

Change-Id: I10136f8d1628128a93c4adfe2cb9447b99720558
Update/Publish volume service updates on delete.

The Filter scheduler weighing function was failing because
we were only updating the capacity info either on the periodic
60 second interval or after succesful creates.

The result was that if you exceeded your capacity within the
update interval you would no longer be able to create volumes even
if you deleted existing volumes until the update was performed and
published.

Since we're updating on on create, there's no reason why we shouldn't
do the same on delete for the applicable volume-service.

The periodic updates are still important for other purposes so they're left
alone, but with this change we keep things up to date so the filter scheduler
has the correct picture of the world.

Fixes bug: 1180976

Change-Id: Ic551f512c5a0cf51bafa8b60f0b6b7debbe22692
Add thin provisioning support checks.

Add a simple check to verify thin provisioning is supported
in the systems current LVM2 version.

Also add a helper to create thin pools.

Change-Id: I1ae3c168b148029a3085be827209f59bc68ca145
Merge "Update/Publish volume service updates on delete."
Update import of strutils from oslo.

Change-Id: Iee18c2226cf1f5c3ea0653c9e13d94b02650bc0d
Convert to oslo strutils.bool_from_string.

The only functional difference here is that the value '2' is now
treated as False instead of True. I suspect that's ok.

Change-Id: I30e75470cb3c312d7f92d389995eb6d845dd2fb0
Merge "RemoteFsDriver: copy_image_to_volume and copy_volume_to_image"
Imported Translations from Transifex

Change-Id: Ic15dca6e7a5a291c4babea403e1a45b2299ce263
Imported Translations from Transifex

Change-Id: Ice855f70d3c22db39357dfe8101b5d68741ed6ce
Merge "Add thin provisioning support checks."
Merge "Imported Translations from Transifex"
Allow flake8 to run in venv

flake8 should be able to run within the venv.

Change-Id: Ife269e54947f0283adceca15af60f38688e1ee64
Merge "Update import of strutils from oslo."
Merge "Allow flake8 to run in venv"
Merge "Convert to oslo strutils.bool_from_string."
Hide v1/v2 version entities in API when disabled

Fixes bug 1181413

Change-Id: Ia8aaa78a0e0d222c268e9ca780816eb1c26feb3f
Merge "Adds notifiers to both volumeTypes and volumeTypeExtraSpecs"
Merge "Hide v1/v2 version entities in API when disabled"