CB-7713 Add new-style tests when using --plugman option

Also Fixed cordova.js when using --plugman option.
Fix tabs/lowercase.
Use www/plugins dir to fix on android.