Force the use of MessagePack v5

This checks that CMP alway uses version 5 of the messagepack format to
avoid breaking compatibility.
Writer returns number of byte written
Add some MessagePack tests

Add some read write tests to check if the MessagePack implementation
really works with the in-memory backend. It checks if we can write and
read back a float, and also checks that the header is correct.