Implement #marshal_dump and #marshal_load methods for Memoizable::Memory

This patch allows memoized objects to be [serialized with Marshal](#1) and adds tests for it.