Refactors Rakefile to allow iteration over an array of devices names

Devices are provided by the env via SIMULATOR_DEVICES
More refactoring needed to allow for building once and running on multiple devices, multiple versions

[#81992016]