TIMOB-16889: fix Android activity lifecycle events

See explanation and test app in JIRA issue:
https://jira.appcelerator.org/browse/TIMOB-16889