Add context events in application lifecycle: application_init and application_shutdown.
Database access layer: entity base class and db::null alias to boost::none.
Database access layer: make better entity ctors, change access to get_session() in session class to public (and remove friends)
Database access layer: database_context for injecting into requests context and demo/test of its usage.