Add log replication

This commit adds the log replication mechanism as described by
the RAFT paper. For now the log is not persisted yet.

Furthermore, a minimalist client has been added in order to
perform some actions on the replicated state machine.