* added error handler to Framework::run.
* error pages improvements.
* some framework configs entries moved to application config.