Scripts for cordova-cli

fixed up the dev scripts and debug/emulate to work with the cordova-cli tool.