tab: Be robust against NULL hostnames in model

Since this happens when we've just added one.
hostdb: Also store last-used even for hosts not in ~/.ssh/known_hosts

This is moving us a bit away from having ~/.ssh/known_hosts as the
canonical data set.