[ALOY-1186] initial platform support

Initial commit for https://jira.appcelerator.org/browse/ALOY-1186