First RAFT commit.

Implements leader election.
Merge branch 'master' of https://github.com/ylamgarchal/chillaxd