PEP8 Fixes

All the codebase is now compliant to our style guide. The compliance is enforced in the test suite.

Refs #61.