Fixed rare location access concurency bug
Save deviceId in local storage to ensure consistency
Added iOS7 forward compatibility by using advertiserId by default on iOS7.0+
Generate random UUID on mac address failure