add a supports method to the cache invalidator

As we do not expose the cache proxy interfaces in the invalidator, i thought it could make sense to have a way to check what will be supported. This will be useful for generic bundles that integrate with caching (thinking about the symfony cmf for example here)