Added LDAP option to use LDAPv3.

Needed when querying the root of an Active Directory. Unsure of any drawbacks, but might be good to consider, perhaps via an option in settings.php.