Added support for running Cordova apps loaded from a web server on iOS

See issue #25