Fix issue with DB upgrade to assignment table

There are two changes:
- Commit changes to the grant tables after each update to ensure MySQL
  doesn't get confused when there are multiple assignments for a given
  actor/target (Postgresql doesn't have this issue)
- Close any sessions in test_sql_upgarde before we call the migrations,
  to ensure table dropping won't be blocked

Fixes bug 1284700

Change-Id: I81704b17ea9c11be926018df125fcfdb79ee6271
Support for mongo as dogpile cache backend.

With this new optional caching backend, MongoDB can be used for caching data.

Change-Id: I25ba1cac9456d5e125a5eac99d42330507d4e329
Blueprint: mongodb-dogpile-caching-backend
Ensure v2 API only returns projects in the default domain

The assignment backend already has a call ready and waiting for this, so
it is just a matter of calling it.

Fixes bug 1276244

Change-Id: Ibff49202c8ca17df0344e48813916936edd3aa62
Cleanup and add more config help strings

Cleanup and add expanded helpstrings for the auto generated sample
config.

Change-Id: I2106d8efee9934e6a48e5d0184c5a63754816a74
Merge "Fix issue with DB upgrade to assignment table"
Merge "Ensure v2 API only returns projects in the default domain"
Merge "Cleanup and add more config help strings"