Token expanding function
Fix default URI and configuration parsing
Wrap function for getting result code of LDAP results
Add lber.c into Makefile
Correct style of function prototype
Include lber.h into ldap module
Fix argument for new event
Make function ldap_init_fd available
Fix configuration parsing

Support for more attributes added plus some style correction.
Fix comparative function for ldap requests
Add pointer to LDAP msg into result structure

Result structure contains pointer to LDAP message that contains result
of LDAP search operation.
Create get_user_info

get_user_info is supposed to be called from IMAP module. It creates and
sends search request and stores it into pending_requests.
Improve freeing of bufferevents

Manually set each bufferevent to NULL value after it is freed -
otherwise we are no able check whether the bufferevent was free.
Use ldap_sasl_bind

Because of ldap_simple_bind becomming deprecated.
Rewrite ldap_read_cb

React properly to LDAP responses and use AVL for resolving requests.
Remove useless comment