Accept hostnames as well as IPs at whois endpoint. Revised whois html template into modules.