LogEvent(string, map) and requested unit test

@dkorolev PTAL
```std::string``` has ```char&  back()```.