Fix for https://github.com/jboss-fuse/fuse/issues/311 -- when a master broker gets demoted, or fails, the green badge that is used to identify its role should be properly updated