Allowing CORS for callback and simulator. Metis init has changed some in that it now switches to Headless mode if no callback is defined. If a callback is defined, we make sure it has a correct path. Changed battery status logic. Before the logic was overly complex. Completely deprecated currentIO tracking, carries Object info throughout the entire UI call instead. Fixed call to Cloud as well as fetching callback-data. Also fixed XHR HTTP ERROR handling in the JSON Object. fireCallback has been moved out of metis.devices.cloud.Handler and xhrResponseHandler now binds to metis and the Object we passed.