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
RESTMapper, not RESTMapping.

Can you add to this comment a description of what this function does, or to the interior of the RESTMapper interface declaration.