Pep8

This aggressively pep8s app.py. In some cases weird hax were used to make the code less than 80 chars or to solve other problems. The thing I hate the most is the double newline inside a single list comprehension.

glhf