Change provisional-python into a Flask blueprint

This makes it easier to integrate in bigger flask applications
and removes the coupling on the app object.