Add tools to dump logged certificates and STHs.

They are rather basic for now, but are useful when debugging servers using
the FileDB storage.