pending leader state tests
cleaner state data
failing tests for leader initial state
failing tests for leader initial state
passing transition to leader tests
fixed broken init state for candidate
resetting heartbeat timer as leader
leader appends commands and requests to log and volatile state respectively
Merge branch 'master' into leader