Introduced ClusterDiscoveryConfiguration

Closes #6890
Test stability improvements

added explicit cleaning of temp unicast ping results
reduce gateway local.list_timeout to 10s.
testVerifyApiBlocksDuringPartition: verify master node has stepped down before restoring partition