WL#159: Replication fail-over agent

Status: Assigned

Write replication fail-over agent that will monitor a farm of servers, and in
the case of master failure, elect new master and redirect the slaves to it.