Add message formatter class

Add a new helper class that can be used to format the messages
that are sent to Gerrit via the review command.

Change-Id: Ib8684d60788c8f19054bca6cfc707b25079395d3