Sort imports for pep8
Clean up long lines for pep8
pep8: E265 block comment should start with '# '
pep8: E711 comparison to None should be 'if cond is None:'
pep8: H405  multi line docstring summary not separated with an empty line
pep8: F402 import 'pickle' from line 52 shadowed by loop variable
pep8: E227 missing whitespace around bitwise or shift operator
pep8: H201  no 'except:' at least use 'except Exception:'
Merge pull request #47 from msabramo/pep8

pep8 cleanup