Fix pep8.
Add devDependencies.
Remove the constant checking of whether we're on heroku.
Move the heroku requirements file.