ldap: ws cleanups, test load ldapjs in register,

only register hook if ldapjs loads
ldap: support per-domain LDAP params
ldap: make sure domain exists before using it
move host_list functions into host_list_base

* updated rcpt_to.in_host_list and rcpt_to.ldap accordingly
* added tests for base + 2 plugins
Merge pull request #721 from msimerson/rcpt.ldap

LDAP: ws cleanups, test load ldapjs in register,
moved 5 var STATE_ constants into STATE { ... }
alter formatting of STATE{}
clean up merge conflicts
Merge pull request #724 from msimerson/smtp_client2

smtp_client: moved 5 var STATE_ constants into STATE { ... }
first whack, needs work
new method get_listen_addrs() from createServer()
add express to package.json
moved get_listen_addrs() into listen_${prot}_

methods
refactored get_smtp_server out of

setup_smtp_listeners.
not clean, but works for Express routes and wss
post-rebase merge