ldap_integration: separated ldapgroups functions to the new include file for performance, #554026 by johnbarclay