Added hook calls to CRM_Core_BAO_MessageTemplates::add().
Cleaned up hook invocations.
Adding hooks to MessageTemplates CRM-12265
-- webtest fix(type was not writing anything inside tinymce as it does not work for tinymce 3.4.x+ versions as per some posts in stackoverflow.so, I applied the suggested fix.)
CRM-12248 fix status msg (should reference Supervised dedupe rule instead of Unsupervised) and fix alert display to be one-at-a-time.

----------------------------------------
* CRM-12248: Configure Event: Registration tab - ruleFields variable used to display alert for Allow multiple
  http://issues.civicrm.org/jira/browse/CRM-12248
CRM-12133: Changed OptionValue's auto-increment function to use numeric comparison instead of string comparison.
Merge pull request #308 from davecivicrm/CRM-12248

CRM-12248 fix status msg (should reference Supervised dedupe rule instea...
Merge pull request #300 from wellebee/CRM-12265

Added hook calls to CRM_Core_BAO_MessageTemplates::add().
Merge pull request #305 from ravishnair/webtest-fix/improvement

-- webtest fix(type was not writing anything inside tinymce as it does n...
Merge pull request #309 from kirkatcaat/master

Fixes auto-increment in OptionValue BAO (CRM-12133)