Support a cache parameter to for cross-process memoization. Fixes #2
Merge pull request #4 from mrjoelkemp/memoize

Support a top-level cache for cross-process memoization