Cordova 3.1

For review only. I'm still working through test failures, however all the sample apps seem to be working now.
Also we probably want to assess the effort on the iOS side before moving forward.

Cordova (js and jar) don't include any plugins. So the plugins code need to be part of the app. 

To get the plugin java code, I did the following:

npm install cordova
cordova create xyz
cd xyz
cordova plugin add org.apache.cordova.contacts
cordova platform add android
And I got the plugin java from the xyz/platforms/android/src.