Merge pull request #38 from wearp/master

any() and all() to take a list as a condition
Added close method to CachingMiddleware.
Merge pull request #39 from fokinpv/fix-caching-json-close

Added close method to CachingMiddleware.
Run storage cleanup when cleaning up CachingMiddleware
Some minor coding style fixes
Version bump to v2.2.0