A Cordova 4.x plugin implementing the Cordova 3.6 whitelist policy