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