LogEvent(string, map) and requested unit test

@dkorolev PTAL
Ok. And it's a temporary code which should be removed very soon by inserting Message Queue.