Adding ability to cache promises.
Formatting
Merge pull request #243 from manolo/mcm_cache_promises

Adding ability to cache promises.