Added the ability to register ip address with etcd
Added bunch of env parameters in Dockerfile to pass the keys for
registering
added few more trap signals