Patches for check_mysql_slave - Test that a slave is running [sf#1087757] [#356]