[4.0.0][#465] version command implementation

interesting bug, $ phonegap -version
is not recognized, defaults to cordova cli, which outputs its own version