Add a test for pickling, based on base/pickles.oz
Implement deduplication of builtins in the Pickler