Mark middleware as obsolete

The middleware modules have graduated to oslo.messaging or
oslo.middleware so mark them as obsolete here.

Change-Id: I51519e9c5218572ebf56415eb53f19d95c371b75
Always log the releasing, even under failure

Change-Id: I4b87b5d9e5c42a1ab4c837ebb4d45b86faf87c21
Test formatting errors with log level being emitted

The test to ensure that formatting errors are handled properly was being
run using info level logging, but the default log configuration for
tests does not emit messages at that level, so switch to error.

Back-ported from commit with the same ID in oslo.log.

Change-Id: Ie11a51deea65627b45a11d7dfca36d16c1b5949e
Let oslotest manage the six.move setting for mox

This instruction to set up a move in six for the mox module conflicts
with the one in oslotest. We are trying to use mox3 everywhere, so
remove this instruction and let oslotest handle it.

This changeset modifies the tests for the old qpid RPC driver, which is
deprecated. However, we need to make the file importable for testr to
successfully run the tests that aren't deprecated, so we need that
change as well.

Change-Id: I59d5799283233f8411044ddb15c8abfc8850014c
Merge "Mark middleware as obsolete"
Enabled mask_password to handle byte code strings

Byte code strings passed into mask_password cause the coersion to
six.text_type to fail with a UnicodeDecodeError.  The code can
work with the byte code string, but the incoming message may be
an i18n object that has to be coerced.

The temporary fix is to ignore the UnicodeDecodeError on the
coersion.   A better solution will be provided for Kilo.

This is related to cinder bug #1368527

Change-Id: I6dd5195d004477f61cc87bf22f3bf5958c78f754
Closes-bug: #1366189
Closes-bug: #1368527
Merge "Enabled mask_password to handle byte code strings"