Add support for etcd registry.

This is initial support for the etcd service to be used as a registry.