Added logger capabilities
removed logger options
Added check for srv.config.app
call ret_handler if provided
Added default app settings for debug:0
Added api appender.
included srv.config.app.debug = 0 in all tests depending on that parameter.