Allow passing a proc for ldap_config

This allows providing a proc that returns a configuration hash to
the ldap_config attribute.  This makes it possible to store LDAP
configuration in a database or some other mechanism.
Merge pull request #172 from blt04/configuration-proc

Allow passing a proc for ldap_config