Do recovery on switch to master/slave
Make it possible for tests to output messages in instance logs, to make it easier to correlate points in the test with what happens in an instance
Refactor AbstractClusterTest to always wait for stable cluster on startup
Refactor HA code to have less dependency on DependencyResolver, and instead do explicit dependencies as much as possible