Cleanup code style/formatting
Simplify copy_fields method
Cleanup more code style issues
Add flake8 checks to tox
Merge pull request #49 from treyhunner/flake8

Check code style in tests