Fix --debug handling in the shell

This sets the debug level globally on root logger so that every debug
calls are logged.

Change-Id: Ia8d61f213b2bc6c4bcb1038e7ff6ac0104581b4b
Closes-Bug: #1259210
Sync with latest module from oslo

- This add a few bugfixes for py3 support.

Change-Id: Ieb73d5f799423fa8abf71634c86601ba6d32df2f
Allow commit title messages to end with a period.

Match what we have in keystone (http://git.io/BNnRcw)

Closes-Bug: 1259488
Change-Id: I6baa0504b9df1f5094df1249d7d902f2188fd95a
Python3: replace urllib by six.moves.urllib

This makes the code compatible with both Python 2 and 3.

Change-Id: I721a5567842f2df6ce2a8af501787204daba3082
Merge "Allow commit title messages to end with a period."
Merge "Sync with latest module from oslo"
Merge "Python3: replace urllib by six.moves.urllib"
Merge "Fix --debug handling in the shell"
Change assertEquals to assertIsNone

Some tests were using assertEquals where they should have used
assertIsNone. assertEquals doesn't distinguish False from None.

Change-Id: Id7dc1075fbaaa9a6dbff5b05ab587df39c79c180