PEP8 and Pyflakes compliance and testing. Fixes #94.