Add script that detects if cordova.js should be injected

This solves the issue of having cordova.js loaded when developing on the browser and having some features such as geolocation breaking. 
i think the only one to add would be BlackBerry not sure about the camel case, and android iphone etc seem to be the same as platform, so maybe BlackBerry will work.