Slave-only support

This adds support for marking HA instances as slave-only, i.e. they will never become masters in a cluster. Similar functionality is also used for clients such as the backup tool, so that they are not elected coordinators in the cluster.

A new behaviour is that when a cluster instance joins a reelection of coordinator will be performed, which is useful if previously only slave-only instances were a part of the cluster.