lookup_hosts.py: added cmdline options for group and loglevel