Db

Simplified testing by removing boilerplate (setUp function), just subclass TestCase from __init__.

Added flask-testing for testing utilities

Added database module (sql-alchemy). The db location might not be ideal.

Added user model, views and templates for login, register, dashboard and logout

Added error pages,

Added utilities file for utilities
Wow, dirname. I'd suggest os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')), which should be both shorter and a bit more intuitive than repeated `dirname`s.