etcdserver: validate new node is not registered before in best effort

fixes #1480 
we do not need to do this in the discovery path. also we should make this checking logic a function.