python3: Compatibility for iteritems differences

In python3 dict.iteritems(), dict.iterkeys(), and
dict.itervalues() are no longer supported. So use
six.iteritems() where it is appropriate.

Change-Id: I8b07dc2a89d790ec275d45f859e1644e9b00c837
Signed-off-by: Chuck Short <chuck.short@canonical.com>
python3: Fix print statements

Fix print statements while running with python3. This is
due to the fact that the print() has changed between
python2 and python3.

Change-Id: I3af57cf8925e0fcfb34981f5b72ed989ba9f6cd4
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Fixup trivial License Header mismatch.

The currently proposed Hacking check H103
compares the license boilerplate header in
source files with a known good version.
Fix up the syntactical-only mismatches with
that check.

Change-Id: Ie8861b9ded858aabb4cebbe9db656e8cccc9efed
Bring stdout/stderr capturing in line w/ nova

In .testr.conf, we reference OS_STDOUT_CAPTURE / OS_STDERR_CAPTURE
while in novaclient/tests/utils.py we reference OS_STDOUT_NOCAPTURE
and OS_STDERR_NOCAPTURE.  This change brings things more in line
with nova project by referencing OS_STDOUT_CAPTURE / OS_STDERR_CAPTURE
in both locations.

Change-Id: I22efdec84bef78e99d1d95303cadade6011d76a2
Fixes: bug #1192997
Merge "Fixup trivial License Header mismatch."
Merge "Bring stdout/stderr capturing in line w/ nova"
Merge "python3: Compatibility for iteritems differences"
Merge "python3: Fix print statements"
Sync install_venv_common from oslo

The current version of install_venv_common uses the --distribute flag
in its creation of the virtualenv. This causes some upgrade problems
with the new versions of distribute and setuptools. The solution to
those problems is to get off of the distribute bandwagon.

Change-Id: I5efe196c46b12d88c853f8362ebcbf0cc6f1573d