[TIMOB-16758] Fixed events in UI module

This fixes events in general with UI components.

Takes care of the following:
[TIMOB-16947](https://jira.appcelerator.org/browse/TIMOB-16947)
[TIMOB-16950](https://jira.appcelerator.org/browse/TIMOB-16950)
[TIMOB-16758](https://jira.appcelerator.org/browse/TIMOB-16758)
[TIMOB-16760](https://jira.appcelerator.org/browse/TIMOB-16760)