Memoize thenable coercions. Fixes #2.

Added some extra tests for this particular case; they're not comprehensive (yet), but cover the essentials.