Handle quorum_unreachable.

Adjust code and provide a test to assert that we properly return a
quorum_unreachable message when replication FSM can't reach a majority
of nodes during a network partition.