[WFCORE-125] / [WFCORE-126] Unable to add LDAP cache for principal to group searches.

This pull request also contains additional test changes to enhance model verification involving caching and also enabled caching for all LDAP testing within the domain management module.