libcommon: Switched mobj.c to C++
Refactor|libcommon: Implement mobj (de)serialization in C++, with Reader/Writer