[ALOY-667] fix event handler creation with platform attributes
Merge pull request #303 from appcelerator/ALOY-667

[ALOY-667] fix event handler creation with platform attributes