Add ctx object to kubecfg and client

This is a prerequisite for namespace support similar to what has already been merged for the server.

The context object will hold the namespace for a request in a subsequent PR.