Added Phongap Geolocation plugin.
Added environment check.
Fixed Geolocation double prompt on iOS.