VALIDATOR_LDAP: Fix warnings during compilation

This code fixes two small warnings in the LDAP validator.  Ideally the first
warning would have been fixed by using the cherokee_config_node_read_*
functions but unfortunately that'd be a deeper change than I can check for now.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Minor change with respect to the direct parsing of the boolean.
A created connection to an ldap server should be closed after use.

Fix #904
Whitespace fixes
Merge pull request #1061 from cherokee/kinnison-kinnison/fix_ldap_warnings

Kinnison kinnison/fix ldap warnings