Using NestedTempfile in new BaseTestCase class

Blueprint: common-unit-tests
Change-Id: I3f2c2f93f3c04a5487260b33f6b78e31c1e4a8d6
Keystone user can't perform revoke_token

To Fix keystone Bug: #1186059
and
Bug: #1221889

Change-Id: Iefc2d87863f386ed3fe3263e4e4feb192420b5b5
Move comment in service.py to correct location

As part of change I21a45862 in nova review feedback was provided
that service.py has a comment in the wrong location.  The comment
needs to be moved, but to address this properly, we need to
move the comment in oslo-incubator.  This way the service.py
code will match up between the two projects.

Fixes bug: 1227375

Change-Id: I1f99bc98f7b8396fd82f139dee2419765e5eab3b
gettextutils: port to Python 3

- Everything's unicode in Python 3, so ugettext() has been removed.
  Let's use gettext() instead.
- Don't rely on builtins, and fix various unicode compatibility.
- Simplify check if a dict as params works; the test MIGHT work most
  of the time, but there is _no_ guarantee that str(somedict) returns
  always the result; in Python 3, sometimes the keys are iterated in a
  different order, returning a different result. Since anyway the dict
  is converted using str(), there's no really point for this test.
  We just a dict with one item to avoid the item order issue.

Change-Id: I1fc8991b3387dd56627b9f7f7833d2971cab059f
Merge "gettextutils: port to Python 3"
Adding instance_uuid to context and log

fixes bug 1220052

Change-Id: I8164e671d721d5cb482cb3a895ed1ff7edbdf1b9
Merge "Adding instance_uuid to context and log"
Merge "Using NestedTempfile in new BaseTestCase class"
Merge "Move comment in service.py to correct location"
Merge "Keystone user can't perform revoke_token"