Sync Batcache with upstream

https://github.com/Automattic/batcache

fixes #232