Style fixes

This a huge style fix PR, so that jasper conforms with [flake8](https://pypi.python.org/pypi/flake8).