SEC-2405

The problem in SEC-2405 relates to problems with parsing the DNs of search results when there is a referral involved. This exact same problem was solved in Spring LDAP a long time ago. The patch makes sure Spring Security uses some standard Spring LDAP functionality, i.e. a DirContextAdapter instance will automatically be returned from searches if the returnObjFlag is set to true and the appropriate parameter is configured in DirContext env.