Add function to revert changes to the pickle dispatch table

Implements suggestion in #53.
What about this?