reorder tables for delete

Reordered the tables in the domain downgrade script to avoid breaking i
the integrity constraints.   This only shows up when run against a
live database, as sqlite does not enforce them.

Change-Id: I00b687fb78d00c6240c8afb0efc26a9730ce4436
Enable exception format checking in the tests.

Updates the Keystone base test class so that we check for exception
formatting errors.

Change-Id: I168d8662752017050d63c83142f6fc45cd6fe38c
Merge "reorder tables for delete"
Merge "Enable exception format checking in the tests."