Allow RESTClient to define arbitrary (non-default) prefix in config

Derivative clients (like OpenShift) cannot override the default path prefix
(/osapi vs /api) without this change, which prevents them from reusing the
new RESTClient and Config.

Also, copy the incoming Config object to allow callers to use the same config
object on two different calls to client.New