CRM-13201, fixed profile search

----------------------------------------
* CRM-13201: Add alterTemplateFile hook
  http://issues.civicrm.org/jira/browse/CRM-13201
Merge pull request #1436 from kurund/CRM-13201

CRM-13201, fixed profile search