Add election threshold and heartbeat timeout events.
Merge branch 'master' of https://github.com/goraft/raft
Merge pull request #144 from goraft/election-heartbeat-events

Election Threshold and Heartbeat Timeout Event Types