Make getKubeConfig public to allow it for external consumption

This helper is useful for parsing the default CLI options and it could be potentially used  in other projects, without causing them to re-implement the same helper.

For example, if I want to build my version of kubectl, that talks to different API, I can use this helper to parse the CLI options and then just override the `Prefix`.

@smarterclayton @fabianofranz