CRM-14832 added permission check for entity relationship

The relationship api does require the administer civicrm permissions.

See https://issues.civicrm.org/jira/browse/CRM-14832