Add is_master flag to mysql_health_check.pl