[PLINK-308] - Support mapping between types and their corresponding objectClasses.

Several improvements to the LDAP store. Specially performance.