Add geolocationa and cordova support. Fixes #13