Fix service_type in instance creation using heat services

parameters supplied to heat template should use service_type instead of hard-coded mysql

Fixes: Bug 1241655

Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1869c
Fix white_box mode for integration tests.

* Removing outdated logic and old test paths that are
  hit when running instances tests in white_box mode.

Fixes: Bug #1243793
Change-Id: I944b63b9cf9ca0f5d8d2139cb2974f4c804ca30a
Add Backup/Restore Checksum Validation

Store the swift checksum for swift storage backups. The swift checksum is
the checksum of the concatenated segment checksums.  This is the checksum
that is stored with the DB backup record so we can verify that the checksum
on restore through a swift object HEAD call.

Adds restore from backup checksum validation at API and guestagent level.
* Integrate checksum verification with check object exists at API level.
* Verify checksum right before downloading swift file.
* Verify the current swift backup file checksum matches the original backup
  checksum to prevent loading and restoring a tampered backup file.

Add swift checksum storage unit tests

Also move backup verification logic outside quotas.

Implements: blueprint verify-backup-checksum-on-restore
Change-Id: I2844cfb8a8b31f6ea7622f99eff3bea9455161e1
Merge "Fix white_box mode for integration tests."
Merge "Fix service_type in instance creation using heat services"
Fix bug in Security Group association to Instance

* Refactor of security groups to TaskManager left out an assignment that
  is required for the security_group to be attached to an intance.

fixes bug 1245767

Change-Id: I161d50b2ddb50dbf25eb67e10414425f098b9979
Merge "Add Backup/Restore Checksum Validation"
Merge "Fix bug in Security Group association to Instance"
Fix checksum verification exception.

Previously if an invalid checksum was found, the exception would not be
raised. This commit also makes the tests for backup run in fake mode
run again (turns out there was no reason to disable them) since they
helped find this, and cleans up an issue with the restore backup test
(it used the current size of an instance created elsewhere for no
reason).

Fixes bug 1246368

Change-Id: I96a570a93695b017e5c6966fa1482d6ec5aef426
Initial support for single instance Cassandra Database

Reasons
- This code adds ability to create/delete instance
with mongodb service type. No other operations supported.
- Trove should support multiple extensions. One of the is NoSQL support.
Main goal is to add support for Apache Cassandra NoSQL database.

Changes
This code adds ability to create/delete instance
with cassandra service type. No other operations supported.

Change-Id: Ib48f6392765af49c2df1447c3df46675825d210f
Implements: blueprint cassandra-db-support