Fixing #132 - fix accident subtype lookup 
- needed to update after localization.py creation
Merge pull request #134 from yosiat/fix_accident_type_string

Fixing #132 - fix accident subtype lookup
Fix import order to avoid application error
Fix #135 show date range text in input

Calling notify() displays the range and also calls the callback to set
the range in the model.
Fix #137 server-side filtering of marker dates

It is much more efficient to do the filter in the DB query rather than
downloading all the markers and then filtering them client-side. They
are now in the GET parameters.
Correct date filtering when date ranged is cleared
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