[ccconsole]Add version command.
Merge pull request #7028 from heliclei/cocos-version

[ccconsole]Add version command.