Define a mapping between REST resource name and kind/apiVersion

Allows clients to abstractly map user input to generic resource
paths as per docs/api-conventions.md

Extracted from #2000 and supports #1958
Hrm - if I hadn't called this a Mapper I would be inclined to switch... but since it's a mapper it does feel pretty reasonable to get a Mapping back.

----- Original Message -----
> > +
> > +	Name(obj runtime.Object) (string, error)
> > +	SetName(obj runtime.Object, name string) error
> > +
> > +	UID(obj runtime.Object) (string, error)
> > +	SetUID(obj runtime.Object, uid string) error
> > +
> > +	SelfLink(obj runtime.Object) (string, error)
> > +	SetSelfLink(obj runtime.Object, selfLink string) error
> > +
> > +	runtime.ResourceVersioner
> > +}
> > +
> > +// RESTMapping contains the information needed to deal with objects of a
> > specific
> > +// resource and kind in a RESTful manner.
> > +type RESTMapping struct {
> 
> RESTMeta?
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/GoogleCloudPlatform/kubernetes/pull/2059/files#r19769779