[ALOY-943] properly copy theme assets to platform-specific folders
[ALOY-656] Must have index.xml even if no UI is needed for the index controller

change check for index.xml to index.js in utils
Merge branch 'ALOY-656' of https://github.com/skypanther/alloy into ALOY-656