Adding support for encrypted backups.

We'd like to enable the backups that are taken and stored as files in Swift, to
be encrypted. We'll add some new config flags, to mark whether or not
encryption is enabled. At this point, the encryption key will also be stored as
a config value. When configured to encrypt, the whole process will be streamed
to/from Swift, doing backup -> zip -> encrypt -> Swift and Swift -> decrypt ->
unzip -> restore all during streaming, so we don't use up more disk space than
needed.

Blueprint: encrypted-backups
Change-Id: I05447306f4249bfd8e02de7b008ebda3387b2fbd
Changed instances of the name reddwarf with trove in the README

Updated the README file to reflect the name change

Change-Id: Id2e62ca47c5ac4bcf4245409ac5b63a724eb98d4
Change server exceptions to show less details

Internal exceptions were dumping error messages raised by
arbitrary python calls and potentially revealing sensitive
details.

The message for all 500 errors is now::

    Internal Server Error. (<UUID>)

The original exception details are written to the log files. The
UUID can be used to reference the individual 500 error in the log.

Change-Id: I57e13a182fd868a1f45419b51d08fe744d650e5f
Fixes: bug #1189673
Merge "Adding support for encrypted backups."
Merge "Change server exceptions to show less details"
Merge "Changed instances of the name reddwarf with trove in the README"
Fix faulty 404 errors when requesting bad versions

The problem came down to the `_dispatch` method of the openstack
common wsgi router object. When a match was not found it returned
a webob 404 exception directly rather than allowing it to be
wrapped in a serializer.

The fix involved extending the `Router` object and reimplementing
the `_dispatch()` method to use the `Fault` object that serializes
exceptions.

Change-Id: I24a590f65ff655b25cfd7d84786df3055af701f1
Fixes: bug #1174960
Add trove.egg* entry in .gitignore

There was already an entry for reddwarf.egg*, but this is no
longer valid after some of the name changes.

Change-Id: Ib348879a2e22cb44dc50de34961ce18b1a2ce576
Rename from reddwarf to trove.

Implements Blueprint reddwarf-trove-rename

Change-Id: Ia9ee609bbc06a1d8b9d6917642529f30347541fd
Fixed backups GET and DELETE to restrict access to the owner of backup

Fixed the db model find_by so that when a model instance is looked up and a
context is passed in, the find_by operation fails if the tenant_id in the
instance is not the same as the tenant_id in the context (except if the
tenant is an admin).

Fixed bug 1188822

Change-Id: I0374f999601fa3f2bc817901bbc428b8be219683
Package AUTHORS and ChangeLog file

Fixes LP Bug #1186518

Change-Id: I856aa8c33628b3a6e4a4e3aa743a5b113477e020
Fix up trivial License Header mismatches

Newer Hacking version from git have a check for
Apache2 license at the beginning of source files. A
couple of the files here had trivial mismatches, so
fix them up accordingly.

Change-Id: I35df87b464b31ae3502a5a028a5c67e6c8af8fd2
Start using Hacking

Blacklist those warnings that occur frequently for
followup patches. Fixup the rest and enable gating
on those.

Change-Id: I79f0ff1c16d9cb7f07cc99382c2a383e2fa532fc
Rename README to README.rst

README.rst seems to be more standard accross OpenStack
modules.

Change-Id: I4cf548cd9e7d10fda486bd9831224b28c80ee169
Merge "Fix up trivial License Header mismatches"
Merge "Rename README to README.rst"
Merge "Start using Hacking"
Fix few missed issues with the reddwarf -> trove rename

There were a few files that were touched after the reddwarf->trove
rename that were still referencing "reddwarf". Changed these
references to "trove".

Fixed bug: 1194636

Change-Id: I7c7b014dee3b3a540baa84ad491812e17a8235ee
Fixes my.cnf not reverting with a resize revert.

Added GA method to fix db configurations without a restart.
Revert resize now uses this method.

Fixes Bug #1187028

Change-Id: I2045d11c5a99ef26c1de297562a0a6239ca04789
GuestTimeout needed to be imported.

Change-Id: Ib4665cd377bf52399bbc7dcb6fdff9ef8a5bb6c7