Partial oslo-incubator sync -- log.py

This patch pulls in the changes in openstack/common/log.py that fix
a problem exposed by the removal of translation from LOG.debug
messages.  This removal causes the messages to no longer be unicode, which
can cause formatting problems.  The changes in log.py ensure that any
message that is not of six.test_type is coverted to six.text_type.

Note that this is required to complete blueprint: i18n-enablement.

Generated with:
python update.py --base nova --dest-dir /opt/stack/nova --modules log

log:
 759bd87 Merge "Set keystonemiddleware and routes.middleware to log on WARN l
 71d072f Merge "Except socket.error if syslog isn't running"
 37c0091 Add unicode coercion of logged messages to ContextFormatter
 6614413 Correct coercion of logged message to unicode
 1188d88 Except socket.error if syslog isn't running
 ac995be Fix E126 pep8 errors
 36e5c2d Merge "Adjust oslo logging to provide adapter is enabled for"
 631f880 Set keystonemiddleware and routes.middleware to log on WARN level
 726d00a Adjust oslo logging to provide adapter is enabled for

Change-Id: I255a68fc60963386e8fefe65c3ffd269795adbf4
Closes-Bug: 1348244
Merge "Partial oslo-incubator sync -- log.py"