LogEvent(string, map) and requested unit test

@dkorolev PTAL
For now it's good enough, but in the future we can definitely review and heavily improve it in a swiss-knife style.