[ALOY-1090] Support spaces in comma-separated lists of targets in the platform attribute

For https://jira.appcelerator.org/browse/ALOY-1090