Move the dev dependencies into a separate file.

This should enable easier dev environment setup without digging into the
.travis.yml file to try to emulate what it does.
Various style fixes, and a test for pep8 conformance.

Now adopting PEP8 as the baseline style for this project, since it's easy
to automate checking for many of the suggestions in PEP8 using the pep8
tool.