Improve CacheManager

* use a custom exception
* improve test coverage

and also adjusted the varnish doc a bit to the cleanups i am doing on the bundle doc.