Adds proper checking for configuration options in the LDAP user source module.

Previously, we were only checking for None on several key config variables.
When those are set to "" (an empty string) instead, that caused our code to
branch off into screwball directions.
Merge pull request #111 from SpiderOak/matt-fix-config-files

Matt fix config files