MessageBuffer: add Append()

Add the ability to write to a MessageBuffer, and
unit tests for the same.

(Read functionality will come later.)

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: I5d43922364c29710676fd10187d9722a46dfb0db
4 files changed