Use cinder API for volume attach and detach

Replace nova calls for attaching and detaching volumes
with native cinder API calls.

Closes-Bug: #1298350
Change-Id: I628b4a0dd559389f66ab25b6030a9ad6fc927e39
Allow DesiredCapacity to be zero

When updating or validating a AutoScaleGroup,
'DesiredCapacity' is ignored if the value is 0.

- Add validation for 'DesiredCapacity' if the value is 0,
- Don't ignore zero when updating.

Change-Id: I830aaf97ebed6b2c77c72b18dc8d222ce23f9a28
Partial-Bug: #1304423
Fix wrongly printed count of received handled conditions.

The WaitConditionTimeout message was using size of the reason
string as input instead of the actual number of status reasons.

Change-Id: I9ad1813755eda6924ffeff116eaeda9f36b601d1
Closes-Bug: #1297230
Make Docker property schema similar with others

All existing resources use property schema, where all properties defined
before they will be used. So Docker resource should have same
definition.

Change-Id: Ie18204569a207f6f168f468446fb0151f309ea25
Add a log info message in Stack state_set

Adding info message in Stack state_set method.
This message would help in searching log files for stack
operations.

Change-Id: Idf462286530f235b954c2bf7fda134a8e02b0bd2
Merge "Use cinder API for volume attach and detach"
Merge "Fix wrongly printed count of received handled conditions."
Optional data for resource_data_get_all

resource_data_get_all queries the database for the data, and
transforms the results to a decrypted dict.

If the data is already loaded then it is unnecessary to do the
database query again.

This change allows data to be passed in as an optional argument.
If the passed data is not None then no database call will be made
and the dict transformation will occur on passed data.

Change-Id: I579225d9a3f3b038e0ca41a5900c58413d6e25ac
Related-Bug: #1306743
Merge "Allow DesiredCapacity to be zero"
Imported Translations from Transifex

Change-Id: I16caae565e2127e6f87536a8b21d6aa06bd53f53
Adding attribute schema class for attributes

This patch introduces simple schema class for attributes.
There are two options avaliable for this schema:
 - description
 - support status
It gives ability for adding support status for each attribute.

Change-Id: I46cbf776f315cbe6414005cbee65da1cefdc5f7d
Closes-Bug: #1305584
Merge "Add a log info message in Stack state_set"
Merge "Optional data for resource_data_get_all"
Merge "Adding attribute schema class for attributes"
Merge "Make Docker property schema similar with others"