Added serialization support to MockXXX and core FileSystem with associated tests

- added test for MockFileSystem to test binary serialization
- marked classes serialzable for mockXXX classes

- add test for FileSystem binary serialization
- marked relevant classes as seriazable