[ALOY-691] Alloys Data Binding feature does not respect platform property

Added test project
improve conditional handling
Merge pull request #342 from appcelerator/pr/339

[ALOY-691] fix duplicate dataFunction creation with platform attribute