Version fixes

Here are some changes to improve handling of Kubernetes versioning.
1) Now all commands are able to parse a -version flag.
2) Version generation from git is more robust and more complete.

Ah great! If changing the kubecfg CLI is not a problem, then let's drop this and keep it to --version only.