Fix #2735 pep8 > 1.4.6 has more errors
Merge mmartalo/buildbot:2735 (PR #1137)

+autopep8 (?!)
Merge pep8 changes into nine, plus more

This ignores E123 because pep8 wants indentation to look like

     def test_SourcedPropertiesValidator(self):
         self.doValidationTest(validation.SourcedPropertiesValidator(),
                               good=[
                                   {u'pname': ('{"a":"b"}', u'test')},
         ], bad=[
                                   None, 1, "hi",
                                   {u'pname': {'a': 'b'}},  # no source
                                   # name not unicode
                                   {'pname': ({'a': 'b'}, u'test')},
                                   # source not unicode
                                   {u'pname': ({'a': 'b'}, 'test')},
                                   # self is not json-able
                                   {u'pname': (self, u'test')},
         ])

which is ugly and most likely a bug in pep8.