added cordova.exec stubs
added a working version
Merge branch 'unstable-cordova-require'