Unit tests created

Basic tests for tjhe session and mvc module, as well as the core events3
framework. Tests can be run in web and cli mode.
Database and Config modules added