WIP - Allow kubectl to handle arbitrary objects

Kubectl will need to handle extension for known (part of api.Scheme) and unknown (defined via config or future ComponentPlugin extension mechanisms on the api server) object types.  This pull request:

* updates the create/update/delete flows for kubectl to separate the versioning abstractions from the core code path via interfaces
* decouple kubectl commands from knowing about specific details of objects (via RESTMapper and the Factory abstraction for commands)
* factors `pkg/kubectl` to ensure it uses our existing abstractions for versioning and object types
* adds more test cases to core paths
* ensures that output from `kubectl get` goes through external versions
 * defaults to `latest.Version`
 * can be changed via `--output-version`
* add more test cases to `hack/test-cmd.sh` for the command output flows

A key goal of the pull is to continue to refine the runtime / meta abstractions to assist in client logic, and to allow other consumers of kubectl to support more than just types in api.Scheme (openshift).

A follow on pull will address the limited unit testability of the `pkg/kubectl/cmd` package.

Note: first commit is in #2059
Comments addressed and rebased.

----- Original Message -----
> > @@ -40,14 +41,18 @@ Examples:
> >  		Run: func(cmd *cobra.Command, args []string) {
> >  			filename := getFlagString(cmd, "filename")
> >  			if len(filename) == 0 {
> > -				usageError(cmd, "Must pass a filename to update")
> > +				usageError(cmd, "Must specify filename to create")
> 
> "Must specify filename to update"?
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/GoogleCloudPlatform/kubernetes/pull/2000/files#r19782784