Update mozregression to conform to pep8, minor cleanups for pyflakes/pylint

https://bugzilla.mozilla.org/show_bug.cgi?id=1018096
bug 996810 and bug 997322 - added other branch support for integration pushes