CRM-11958 - Add hook_civicrm_alterMailer (with unit-test)

----------------------------------------
* CRM-11958: New hook implementation for altering outgoing mail configuration
  http://issues.civicrm.org/jira/browse/CRM-11958