Merge pull request #9 from wjdix/master

Reset election timer.
Extract Peer interface.
During an election a candidate will continuously request a vote from a peer till it gets a response.
Merge pull request #10 from benmills/master

Candidates will retry requesting a vote from a peer.