Make flags declared outside spf13.pflag persistent flags on the parent
Make flags declared outside spf13.pflag persistent flags on the parent

Some projects pick up flags from other projects they include.  A great
example would be projects that use glog and thus get all of those flags.
Kubernetes, for example, merges those flags manually into its commands.

This was reported in https://github.com/spf13/cobra/issues/44

What this patch does is merge those flags into the PersistentFlags on
the highest parent.  This allows kubernetes to stop having to merge
things themselves...

anthonyfok/cobra,jrossi/cobra,sdomino/cobra,vikstrous/cobra,liggitt/cobra,gosuri/cobra,spf13/cobra,k4rtik/cobra,simlelievre/cobra,jlowdermilk/cobra,abhishekgahlot/cobra,eparis/cobra,akutz/cobra,nicrioux/cobra