Add slowest output to tox runs (testr)

Add --slowest for all tox test runs that don't use other various
test commands.

Change-Id: I9f9fdcdda8895ba33c817f87b566794dbcd6ccb9
Replace all use of mox with mock

The general trend is to use mock in new code. This patch rewrites
existing tests to to mock.

Change-Id: I2292ec39c528884b2e3913b6c8a0eb26b4980991
Remove legacy_endpoint_id and enabled from service catalog

Those two fields are for internal use, and should not be in the token.

The token size was expanding past the threshold where it could
be passed between a wsgi process and Apache HTTPD, even for
a basic, devstack sized catalog.  This reduces the size.

Change-Id: Ic8eb70e519a8a35fd05b497d917f9889e82b6e7f
Closes-Bug: 1302075
Remove assignment proxy methods/controllers

Assignment proxy methods and controllers are removed as of Juno.

Change-Id: I661a8b871884979dc9f046e6d98dd4eadca4ba11
bp: removed-as-of-juno
Merge "Add slowest output to tox runs (testr)"
Fix invalid LDAP filter for user ID with comma

The Keystone server would respond with a 500 error when configured
to use the LDAP identity backend and a request is made to get a
token for a user that has an ID with a comma. The response is like:

 Authorization Failed: An unexpected error prevented the server from
 fulfilling your request. {'desc': 'Bad search filter'} (HTTP 500)

This is because the user DN wasn't properly escaped in the filter
for the query to get the groups that the user is a member of.

Closes-Bug: #1302106

Change-Id: Ib4886e66af0e979fcf23a84bcd51b07034547cb9
Merge "Replace all use of mox with mock"
Merge "Remove legacy_endpoint_id and enabled from service catalog"
Merge "Remove assignment proxy methods/controllers"
Merge "Fix invalid LDAP filter for user ID with comma"