Use initialize() instead of the deprecated open() for ldap
Add scope option
fix typo
fix another typo
fix yet another typo
fix call to parse_scope
fix call to parse_scope part 2
support empty scope
support empty scope part 2
support empty address (when using uri)
Add simple bind support
fix typo
import pg ERROR
Fix error level handling
Fix error level handling
Match attributes case insensitive. This is needed for attributes
like userPassword, givenName and other attributes with capitals.
Merge branch 'master' of github.com:dveeden/Multicorn into ldap_fdw
Merge remote-tracking branch 'dveeden/ldap_fdw' into ldap_fdw
Cleanup dveeden patch.

- Maintain backward compatibility.
- Switch to dicts instead of sequences for the result items.
- Cleanup Pep8 violations.
- Make the code more "pythonic".
Set unix newlines.
Encode the ldap filter as utf8.

This should be fine for ldapV3, since utf8 is the default.