Add cohCacheBase module

There are a small amount of shared components between all the cache
types. They are tedious to type out, but very common.

This commit adds a module that makes addition of these componenets to a
provider simple. It also changes the distributed cache provider to use
this new module. Some lines of code were saved, yay!