Start Gating on Pyflakes and Hacking

Instead of globally ignoring Pyflakes and Hacking
warnings, only blacklist those that occur frequently
and fix the others. Start gating on those checks.

Change-Id: Ice032c16d445ef08ef018bcdc5c221ab3c323755
python3: Drop mox dependency

Drop mox dependency, it is not being used at all.

Change-Id: Ibcc971cee46dabad9c612d95593640ac139638e3
Signed-off-by: Chuck Short <chuck.short@canonical.com>
python3: compatibility for iteritems and iterkeys

Use six to allow python2/pyton3 for iteritems and
iterkeys.

six.iteriems() replaces dictionary.iteritems() (python2)
and dictionary.iterms() (python3)

six.iterkeys() replaces dictionary.iterkeys (python2)
and dictionary.keys() (python3)

Change-Id: I26c80b78a7dedf3aa32eedf01a83ff6d1e592ba7
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Start Gating on Pyflakes and Hacking"
Merge "python3: Drop mox dependency"