Process STHs for all log servers

... not just those with hard coded known-good STHs
Sync log entries to log_entry table
Parse X509 certificates, print distinguished names
Write domain to DB
Catch-and-handle certs that don't parse correctly

JAVA STYLE.

This code is very bad. I know. I just need to commit it for now. :P
Debug output for when syncing
Add foreign constraint to log_entry(log_server_id)
Add indexes to speed up slow queries
Store binary data as binary rather than text

This will save precious space, as well as being generally preferable. :)
Merge branch 'master' into deploy-with-binary