iBeacon emulation and Scanning in a Titanium module