CRM-14919 fix api test failures and notice fixes

----------------------------------------
* CRM-14919: Add icon for related contact in listing in the relationship tab
  https://issues.civicrm.org/jira/browse/CRM-14919