Medium: RA: mysql: add promote and demote actions
Medium: RA: mysql: add promote and demote actions

Patch based on lots of work from Marian Marinov. Add promote and
demote, which are essentially no-ops except for setting and unsetting
read-only mode. The actual reconfiguration of slaves to connect to new
masters is done during notify.

--HG--
branch : mysql-ms-2

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