Improve mysql error handling/reporting

Numerous try/excepts have been added to the mysql module to catch
exceptions like authentication failures/timeouts, permission issues,
etc. Additionally, the mysql_database and mysql_grants states have been
modified to report the mysql errors caught by the try/excepts.