Added Geolocation plugin

Added and geolocation plugin and a proper cordova startup sequence