lib/files: Converted to use flask config
lib/helpers: Use flask.flash instead of tg.flash
lib, model: Converted more modules to flask
controllers/root: Removed broken import
views: Added assets module
flask: Removed tg_app from WSGI cascade

We are still loading the environment though for SQLAlchemy support
flask: Removed WSGI cascade
flask: Changed default debug server port to 8080
views/flight: Fixed logging call
views/flight: Use joinedload parameter to load IGC files in first query
views: Added explicit DBSession.commit() calls
flask: Added Flask-SQLAlchemy dependency