Check for dist before we us yum.
Fix socket path for debian, changes mastervars.

The little odd "inventory_hostname == db_master" was used,
I replaced it with a "collectd_dbmaster" that you can set
on your master (if you have any), you also need to enable
the slave master monitoring with collectd_has_masterslave.
Updated docs for new slave/master mysql conf.
Support for multiple databases.
Merge pull request #5 from nsg/mysql_fix

Mysql fix