Load database on flask requests

Configuration and before/teardown_request scaffolding for letting Flask access
the database. This will let flask requests get at game state snapshots.

Also update the Makefile to build tappy.db, the starting database.