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.
This function and the one above don't seem to be used-- remove? Or rename DefaultRootFunc and DefaultKeyFunc if that's what they're meant to be?