timob-14060: correctly send ti.start and ti.end event
timob-14060: add comments
timob-14060: address comment
timob-14060: fix log
timob-14060: retrieve events ordered by Timestamp
timob-14060: Use LinkedHashMap to preserve the item order in which keys were inserted into the map.
Merge pull request #4345 from pingwang2011/timob-14060

Timob 14060: Parity: Making the app background on Android does not send ti.end event