Add CacheResolver to JCache

Use a mix of JSR-107 and Spring annotations. Reveals a tricky case regarding
key generation when using both infrastructure in the same application.