Initial steps towards getting failover to work.
Restrict build-essential version.
Fix slave status loop and Vagrantfile.
Fix permissions on Vagrantfile.
Master/slave improvement

- Wait for slave to finish reading relay log.
- Reset slave during promotion to master.
Fixed on CentOS.
Bump default slave functional timeout to 600 seconds.
Removed unnecessary `query` method.
Attempt to include DNS in master recipe
rs-mysql updates

* Have bind_ip_type attribute to switch between public and private IP interface
* Move dns attributes to rs-mysql/dns/*
* Minor fixes
Point mysql cookbook to rs-fixes
Iteration on code review