raft: remove unused IsMsgApp
raft: index{} -> progress{}
raft: sm -> r
raft: ins -> prs
raft: newStateMachine -> newRaft
raft: remove return bool
raft: remove EmptyState
raft: remove setX methods
raft: correct hasLeader