Moving configuration objects to it's own file
Using init_flask on the main file
- Removing unused imports
- Moving debug logging to main
- Clearing sessions after each request
- Deriving from base - no need to use db.session to query the models


http://flask.pocoo.org/docs/0.10/patterns/sqlalchemy/#declarative
Adding import of Flask - so gunicorn will work
Merge pull request #141 from yosiat/db_cleanup

Config and db refactor