Add tools to dump logged certificates and STHs.

They are rather basic for now, but are useful when debugging servers using
the FileDB storage.

See also: https://codereview.appspot.com/142170043/
I've purposefully put it in the wrong place now.