Deploy with Fabric

This is a horrible pull request with several unrelated things in it.
[This might be better as a decorator](http://flask.pocoo.org/snippets/18/).