KAZOO-717: use wh_nodes to optionally flush wh_cache when the topology changes, fix bug when calling lost_connection