Add generic serialization code for std::map & std::pair.
Fix/enhance  Serialization::binary().
Implement serialization for VirtualMemory.