Implement LDAP user lookup.

This is required to improve compatibility when the DN cannot be easily
computed from the user name. Additionally, this allows automatically
getting the full name and email address from LDAP.
Add option to disable SSL certificate verification for LDAP.
Merge pull request #161 from Typz/ldap

Implement LDAP user lookup.