Fixed code for determining of master exists when in maintenance mode for...

... issue #12 and #9.

When in maintenance mode, the output of crm_resource --list differs when not in maintenance mode causing glb_master_exists determination to be 0 and therefore lines 1296 to 1299 on mysql_prm to be hit.