WebWorks 2.0 changes

Merging in changes so that everything works with the WebWorks 2.0 project structure as well as new Cordova plug-in model.