Lookup certs by domain

Potentially broken code. Untested!
Fix DB querying of domain names
Add public_suffix
Only allow searching of domains

NOT tlds (e.g. ".com")
NOT suffix of domains (e.g. "oogle.com")

YES "google.com" -> ["mail.google.com", "talk.google.com", "google.com"]
Merge branch 'master' into domain-lookup