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
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"