appcelerator/titanium_mobile — pull request #5873 by srahim (2014-06-27 23:07:17+00:00)
Title: [TIMOB-17231][TIMOB-17232] Fixing issues with sending out analytics events

Following test case in Related JIRA

* [NATIVESDK-214](https://jira.appcelerator.org/browse/NATIVESDK-214) Sending of background events
* [NATIVESDK-212](https://jira.appcelerator.org/browse/NATIVESDK-212) Generation of new session id and invalid background events.

Backport for #5872