Add tools to dump logged certificates and STHs.

They are rather basic for now, but are useful when debugging servers using
the FileDB storage.
Fixed IPAdress error message.
Catch invalid input early on in AsyncLogClient::GetEntries.
Moved apt-get python packages to pip (travis).
Store (and use) entries in database.