MsgPack: move functions to the header
MsgPack: remove dependency on libbit
Fix uninitialized variable in test/unit/test.h