Fix webob.exc.HTTPForbidden parameter miss

HTTPForbidden should use the parameter 'explanation'
instead of 'detail'.
This patch fixes this bug.

Change-Id: I0ebc01e8bbcc564debce450ea52faf94faa21eeb
Closes-Bug: #1283872
revocation_list only call isotime on datetime objects

If expires is a str then isinstance six.text_type is false then the following
exception is raised:
AttributeError: 'str' object has no attribute 'strftime'

This change explicitly checks for a datetime object, which is what
timeutils.isotime expects.

Change-Id: I8012f96498fffe5f54e7f1ca08b7beb6fa168f9c
Closes-Bug: #1285871
Removes a redundant test

I mistakenly asked for the test to be added in a review because I
thought there was some LDAP specific behavior. It turns out that this is
just a copy of the test in the parent class.

Change-Id: I98e007a1a40e64a18692623f80b7d733075c63c2
Removes use of timeutils.set_time_override

The set_time_override function in timeutils was written as a
helper function to mock utcnow for unittests before 'mock' was
generally used. Now that we have mock and fixture, we no longer
need to use it.

Change-Id: I1af631f36c813740dbf22da030c2c1f50265d156
Partial-Bug: #1266962
Remove vim headers

Second round to remove all vim headers. We don't need to have the
vim headers in each source files.

More discussions:
http://lists.openstack.org/pipermail/openstack-dev/2013-October/017353.html

Change-Id: I43703e2289212389c7841f44691ae7849ed1f505
Closes-Bug: #1229324
Don't need session.flush in context managed by session

Within the scope of a single method, keeping all the reads and writes
within
the context managed by a single session. In this way, the session's
__exit__
handler will take care of calling flush() and commit() for you.
If using this approach, you should not explicitly call flush() or
commit().
See http://docs.sqlalchemy.org/en/rel_0_7/orm/session.html#committing

Change-Id: I8e49179cb6cb71fc7b7c06799adcf9f10164a09b
Partial-Bug: #1258044
Remove unused function from tests

_fetch_attributes_from_response from test_v3_federation is
unused.

Change-Id: I0c8f7c059498c252e9e0ebbd044012e1e583cad2
Import order is fixed

In keystone/tests/fakeldap.py built-in lib import was among third party
libs imports.

Change-Id: I94d5dc54b94193c2da2509589402b738daa4b575
Update ADMIN_TOKEN description in docs

Blurb taken from etc/keystone.conf.sample

partially fixes: bug #1283943

Change-Id: If7dac1dd902b52618f1af50a971fe1602426fdcf
V3 xml responses should use v3 namespace.

Currently, all v3 xml responses use v2 namespace, But v2 and v3
are incompatible. This change will fix it.

Change-Id: I5818bb0a268ae0e48263d5ea5795fdebeae9c388
Closes-Bug: #1195813
Use config fixture

Use the configuration fixture instead of the old opt_in_group and
opt methods.

Where possible the config_fixture usage done from within setUp
has been moved to config_overrides() method. Notably a number of
the Policy.json tests cannot be moved into config_overrides
due to the need to control how and when policy data is loaded.

Change-Id: I1662627cca30890cc3f3da83772132cec7bd58e0
Merge "revocation_list only call isotime on datetime objects"
Merge "Remove unused function from tests"
Merge "Remove vim headers"
Merge "Removes use of timeutils.set_time_override"
Merge "Update ADMIN_TOKEN description in docs"
Merge "V3 xml responses should use v3 namespace."
Merge "Don't need session.flush in context managed by session"
Merge "Removes a redundant test"
Merge "Fix webob.exc.HTTPForbidden parameter miss"