fix default logging configuration setting in pynslcd
move Search class to search module
move get_connection function to search module as Connection class as subclass of ReconnectLDAPObject to automatically reconnect to the LDAP server
clean up imports and use ldap.filter.escape_filter_chars() directly
ensure consistent naming of DN variables
log hex value of action id to make debugging easier