PHOENIX-1107 Support mutable indexes over replication

Adding test to ensure that we still have indexes working over replication, rather than
just relying on the fact that it 'just works'.