hide delegations tab in profile -> all instances if not enabled

currently the delegations tab in the "all instances" part of
the user profile and dashboard are always shown.

This adds a check for wether allow_delegate is enabled on
any instance in which the user is a member
Merge pull request #698 from xi/feature-hide-delegations

hide delegations tab in profile -> all instances if not enabled