Merge pull request #31 from wjdix/master

Adds integration test for loading state from disk.
Merge pull request #32 from wjdix/master

Refactor sending of heartbeat.
Remove examples from candidate tests.
Remove examples from election timer tests.
Merge pull request #34 from benmills/master

Start removing examples