Fix for [JENKINS-18950] issue (reports => running out of memory).

Fixed problem of running out of memory under heavy use like ours:
- reports not kept in memory anymore but made on demand;
- logging changes due to unserializable listener-logger.