TIMOB-15094-Added support for app 'pause' and 'resume' events

https://jira.appcelerator.org/browse/TIMOB-15094
Added support for app 'pause' and 'resume' events
Yes, tiApp.onResume is called for every activity resume but app 'resume' event is fired only if the application is in 'pause' state.