Update generic etcd to enable namespace scoped resources

Modified the KeyFunc and KeyRoot functions to support accessing the context object so we can use this registry for namespace scoped resources.
They were intended to be future defaults - I was going to use them right after this went in ;-)