Fix null reference exception
update cordova.js for 2.9.1
update templates to include all plugins for 2.9.1