[CB-4545] support for merges directory on both wp7 & wp8
Add version numbers to `platform ls` output.

Forgive me father, for I have sinned: I have used shelljs.exec's
synchronous version. I will atone by converting this to promises on the
async branch.
Add `cordova update foo` command, with tests. [CB-4777]
Update repo versions to 3.1.0-rc1
Add missing license headers
Merge branch 'origin/master'
[CB-4837]: Version 3.0.10. Depends on Plugman 0.12.x.
Merge remote-tracking branch 'apache/master' into patch-1
cleaned logic for hooker
check for shebang bigger than 4k - 2