toollabs/sql: Remove unused 'list', remove duplicate 'commons'

* Follows-up Ibd833a571, Ic28729d341297.
* Also add more shortcuts that bypass the hostname lookup
  (since this is before we add _p, those weren't optimised)

Change-Id: I795051ab034bb4c25b58ecedc63682738b68d6de