Fix bug, bad performance using api_is_coach(). Set value in $_userPermissions -refs BT#8403
Merge pull request #63 from DeEvo/8403_1

Fix bug - refs BT#8403