[TIMOB-15443] enable proxies to get window/tabgroup activity lifecycle events

Very simple to use: 
1. In the proxy creation dictionary pass `lifecycleContainer: windowOrTabGroup`
2. In the proxy set the lifecycle callbacks.

See example in JIRA https://jira.appcelerator.org/browse/TIMOB-15443