[CB-3611] Refactor the server side JS signature to contain a

PluginResult instead of success and fail
Removal of window.webworks and webworksready

Inclusion of cordova-js from https://github.com/apache/cordova-js/pull/44