LDAP: Migrated code to use classes instead of resource Added readAndGetEntries, and made those individual methods protected, in the LDAP class since these were always used together, and this limits exposure of internal opaque LDAP values/classes. Closes #6203