Sync with oslo-incubator 74ae271

This syncs Keystone with oslo-incubator commit hash
74ae2713baf82f0155b71c6e528747f644d73355 .

In keystone:

$ rm -r keystone/openstack/common

In oslo-incubator:

$ python update.py ../keystone

Commits
-------
f61a4e7 Fix python26 compatibility for RFCSysLogHandler
54f7e7f Prevent races in opportunistic db test cases
8a0f581 Use oslotest instead of common test module
7f307c2 generator: sanitize values ending with the fqdn
4a591ea Start ping listener also for postgresql
f0e50ed Add a warning to not use get_table for working with ForeignKeys
fd18c28 Fix safe_encode(): return bytes on Python 3
f0dd798 Remove rendundant parentheses of cfg help strings
6cc96d0 Fix test_gettextutils on Python 3
85d1ce6 Python 3: enable tests/unit/middleware/test_request_id.py
295fcd9 Do not use the 'extend' method on a dict_items object

Change-Id: I90dabcfce78544ceeae7d92f5e5b90d854c5da8d
Fix the "search for sql.py" files for db models

Fix the search logic for sql.py files for the db model import so
that reflection created schemas are consistent.

This does not mitigate the need to move to stevedore in the future
for loading of backends / tests, but does solve the immidiate problem.

Change-Id: If53bfb351d679e3309393c7d594942c55daff3a6
Closes-Bug: #1310768
Removed duplication with list_user_ids_for_project

Keystone list_user_ids_for_project has the possibility of returning
duplicate users if the user has more than one role in the project.
list_user_ids_for_project queries the assignment table which has
one entry for every role the user has but will now remove
duplicate combinations of target_id and actor_id. This impacts
V2 calls for tenants.list_users(<tenant_id>) and
users.list(tenant_id=<tenant_id>).

Change-Id: I9a1e5b944c2c627138851976e81d405f54fae1c9
Closes-Bug: #1308218
Add localized response test

A test that shows that the wsgi code will generate a translated
response is added.

Change-Id: I9ba55ec951a7fa9bd63c50155d551c48f2ba2a55
Merge "Fix the "search for sql.py" files for db models"
Merge "Add localized response test"
Merge "Removed duplication with list_user_ids_for_project"
Merge "Sync with oslo-incubator 74ae271"