Ensure all types in the wrapper can be pickled.

Paal Kvamme requested to merge kvamme62/pickle into master

Ensure all types in the wrapper can be pickled. Add unit tests.

Merge request reports