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 #4346 from pingwang2011/timob-14060-3_1_X

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