[ALOY-895] Set Switch state by databinding on opening window
improve test app to toggle states
minor refactor
Merge pull request #343 from appcelerator/pr/340

[ALOY-895] Data binding for Switch