Cordova 3.x require-based JavaScript handling

Modified to use `js-module` and `clobbers` in `plugin.xml` instead of manually adding a script tag to `index.html`