DnsResolver.bootstrap() stores and retrieves root_hints from SQL

Also created some of the requisite database methods, for retrieving packet info / doing lookups.