Better handling of underlying ldapjs errors, avoid throwing exceptions when .on('error',...) by checking for a defined event listener.
Better handling of underlying ldapjs errors, avoid throwing exceptions when .on('error',...) by checking for a defined event
listener.

jsumners/node-activedirectory,kattsushi/node-activedirectory,gheeres/node-activedirectory,tricerat/node-activedirectory,BenPaster/node-activedirectory