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

Reviewing the discussion here didn't uncover anything pertinent - did I overlook something, or is the discussion elsewhere?