Wrote appendInt functions

These append integers into byte streams.
Started up binary message support

The idea is that we can use the same messages
in the embedded environment and serialize/deserialize them
to byte buffers.