Cleanup replication

I fixed a problem with the passing of the `-p` password option to the mysql client, it was overly complicated. Part of this fix included simplifying the code overall. This now takes the same approach as the opscode/mysql cookbook's connection to mysql for loading grants.