CRM-13402 error handling, prevent loop if mysql server has 'gone away'

----------------------------------------
* CRM-13402: Improve debug logging around server unavailble (ditch the loop), missing contributions, mail store problems
  http://issues.civicrm.org/jira/browse/CRM-13402
emailProcessor add details about the account that failed
CRM-13402 error handling in profile_form - record transaction rollback in log file

----------------------------------------
* CRM-13402: Improve debug logging around server unavailble (ditch the loop), missing contributions, mail store problems
  http://issues.civicrm.org/jira/browse/CRM-13402
CRM-13402 fix git error in prev

----------------------------------------
* CRM-13402: Improve debug logging around server unavailble (ditch the loop), missing contributions, mail store problems
  http://issues.civicrm.org/jira/browse/CRM-13402
Merge pull request #1649 from eileenmcnaughton/CRM-13402

CRM-13402 error logging improvements incl fix to infinite loop when sql server gone away