-- CRM-12941, CRM-12863 & CRM-12824 changes made as per the comments

----------------------------------------
* CRM-12941: Redirect to proper contact tab after saving profile
  http://issues.civicrm.org/jira/browse/CRM-12941
* CRM-12863: Hide profile titles in HR tabs
  http://issues.civicrm.org/jira/browse/CRM-12863
* CRM-12824: Override message for empty tabs
  http://issues.civicrm.org/jira/browse/CRM-12824

1. Made use of 'onPopupClose' to judge the redirection with its value as 'redirectToTab'.
2. Removed the tabDisplay condition that restricted the display of profile title. Will work on it after  CRM-12865 is done.
3. Removed the old message, so that new message will be displayed in both tab and standalone mode.
This fix also includes CiviHR PR https://github.com/civicrm/civihr/pull/24