Add pep8 config, use pep8 in travis

also, fix E111-E113 errors:
E111 - indentation is not a multiple of four
E112 - expected an indented block
E113 - unexpected indentation

I can agree to the argument that the indent should not go to the opening brace. This style would indent too far to the right, and it would also give the parameters that remain on the same line a special status, which is usually not justified (and it also tends to hide them from review, which is generally a bad thing).
My personal preference is that if the line gets too long, put the entire parameter list to the next line(s).