Remove old script.

Remove shebang as the entry point should be installed by
pip/easy_install.
Move cli tool around.

This fixes some problems with python's packaging as its all a bit
stupid.
Pull code out of the hook registration

It doesn't make sense for github machinery to need to know about a flask
app existing.