New hook implementation for altering outgoing mail configuration
Partial backport: does not include constants and unit tests
Additional cleanup by Tim
Corrects a backporting error. Tested working on production servers.
Merge pull request #39 from cividesk/CRM-11958

CRM-11958: New hook implementation for altering outgoing mail configuration