Ldap fdw

Use initialize() instead of open(), which is deprecated.
Use URI's instead of hostnames
Allow to specify the scope
Allow simple bind authentication.

This also contains a fix for error level handling in utils.c which is already in another pull request.