Low: RA: mysql: add check_slave function, include in monitor
Low: RA: mysql: add check_slave function, include in monitor

Add a check_slave function that tests whether the instance is
configured as a slave, and if yes checks SHOW SLAVE STATUS to see if
anything is wrong with the local replication status.

Purpose: a slave that has run into a replication error must be removed
from the cluster, otherwise it would serve stale data out to clients.

Patch based on Marian Marinov's work.

--HG--
branch : mysql-clone

stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents