Pretty-printing into a cork_buffer

This patch adds several functions for pretty-printing binary content
into a cork_buffer.