Added hook calls to CRM_Core_BAO_MessageTemplates::add().

CRM-12265