etcdserver: add SYNC request
raft: isStateEqual -> isHardStateEqual, IsEmptyState -> IsEmptyHardState
etcdserver: refine printout
Merge pull request #1081 from unihorn/125

make TTL work