Compatible with Spring 4.1 due to API change

https://jira.spring.io/browse/SPR-11316 documents an API change to CacheAnnotationParser. It went from having one method:
Collection<CacheOperation> parseCacheAnnotations(AnnotatedElement ae);
to two:
Collection<CacheOperation> parseCacheAnnotations(Class<?> type);
Collection<CacheOperation> parseCacheAnnotations(Method method);

This commit provides compatibility with both Spring < 4.1 and 4.1.