raft: implemented leader lease when quorum check is on (#884)
raft: implemented leader lease when quorum check is on (#884)

port etcd leader lease.
https://github.com/coreos/etcd/pull/5468
https://github.com/coreos/etcd/pull/5809

Hoverbear/raft-rs