Updates lookup to use tool_address_family
Updates lookup to use tool_address_family

Updates lookup to use the tool_address_family property of LookupQuery.
Also does some refactoring to eliminate redundant URL/FQDN generation
code and deletes / re-sorts library imports.

m-lab/mlab-ns,fernandalavalle/mlab-ns,fernandalavalle/mlab-ns,fernandalavalle/mlab-ns,m-lab/mlab-ns,m-lab/mlab-ns,m-lab/mlab-ns,fernandalavalle/mlab-ns