Fix race condition in Candidate election

electionTimer must be set before anything that could call transition
Merge pull request #38 from justinsb/fix_race_condition

Fix race condition in Candidate election