Changed URL access to global for testing in development

- this should be restricted before the app ships
Added phonegap staging tasks to Grunt