TIMOB-16044-3_2_X: pause and resume when the activity is paused or resumed

https://jira.appcelerator.org/browse/TIMOB-16044

Test case in Jira.