Add tests for --prepare behavior

Checks for:
- cordova_plugins.json with appropriate entries
- copying the JS file into www/plugins/com.foo.id/path/to/file.js
- copying <asset> files.
- copying <asset> directories.