Improve Group Caching Strategy

Description

The current group caching strategy can result in quite a performance hit on LDAP, improve the strategy by adding to caches:

Global Group Cache - This cache encompasses all groups in the system
User Group Cache - Caches groups related to a particular JID or user.

Environment

None
Fixed

Assignee

Alex Wenckus

Reporter

Alex Wenckus