Added in-memory serialization functions.
Merge branch 'master' of github.com:clementfarabet/graphicsmagick