Enhance wsgi to listen on ipv6 address

Check if the hostname is ipv6 and set the family appropriately.
Add tests to ensure that IPv6 and IPv6 with SSL works properly.

Change-Id: Ibcf0a9387691d124888c0c0540d4322b0a3b3d67
Fix i18n of string templates.

Change-Id: I4ed11b43b8b1072094bd2b6f88687900c858bafe
Sync base identity Driver defs with SQL driver

Change-Id: Id20c1167dbc718ba4bd8cb0df88edd2bc922c3c6
Safer data migrations

Specifically, let sqlalchemy handle type casting, escaping special
chars, etc.

Change-Id: I6ffed964b0dc6e140002664675423b83fdeee166
Merge "Fix i18n of string templates."
Merge "Sync base identity Driver defs with SQL driver"
Auto-detect max SQL migration

Change-Id: I56b1d6ded61ad430929d0275ab384ff464faa53c
Merge "Safer data migrations"
Merge "Auto-detect max SQL migration"
downgrade user and tenant
normalized tables downgraded such that sqlite is supported, too

Change-Id: I93ed4589cbe7fd3aee16e42489c322ae903bdac7
Allow running of sql against the live DB.

Reordered the tables in the domain downgrade script to avoid breaking the integrity constraints

To run the test:
./run_tests.sh -N  test_sql_upgrade

This version removed all of the code specific to running against a live DB and merged it into the
standard tests.

Fixed a couple downgrade functions that were failing.  They had not
been tested

Change-Id: Ie1214e5543bd08fde95652af2464cc9c80db449d
Merge "downgrade user and tenant normalized tables downgraded such that sqlite is supported, too"
Merge "Allow running of sql against the live DB."