pyMPTK: implement book __getstate__ and __setstate__, to allow python copying