Fix NS lookups with DNS Server and DNS API and add Tor lookup

* Fix the DNS server so it resolves subdomains correctly and uses new API for map lookups
* implement getNS command
* remove old map lookup code
* add NS lookups to getIp4 and getIp6 commands
* add support for .tor TXT lookups