Added requirements.txt and db migration scripts.

The db migration scripts are from the flask mega-tutorial and are simply
brilliant to use.