Fixorganisation

This fixes a problem we faced on xbmc that the organisation name can't be fetched. As a workaround we just parse it from the repo url (better ideas welcome).

Also this replaces the code for isUserMemberOfOrganization with something faster. See commit messages.