CB-6934 run should complain about target w/o ip before password
CB-6968 fix bashism (source) in update script and bb10-ndk-version
CB-7025 report platform update
CB-7036 make npm test work again (using grunt instead of jake)

Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from `jake` to `grunt`.
CB-6492 AppData hint is wrong for wXP

Check for LOCALAPPDATA environment variable (which is what Windows Vista introduced)
Otherwise, use the hard coded value for XP/older
CB-7087 Retire blackberry10/ directory
CB-7119 cordova run --target xxx dies if blackberry10.json is empty
Provide vaguely meaningful error message when target is unreachable