Plumb ratchet error messages to the user.

This change causes error messages from the ratchet code to be surfaces
to the user in the contact log. This is to help debug #124.