WICKET-5441 IResourceCachingStrategy implementations should only set caching if version matches

This fix doesn't set caching for resources without a correct version in IResourceCachingStrategy. It does however fall back to application.getResourceSettings().getDefaultCacheDuration() which still is WebResponse.MAX_CACHE_DURATION by default. Should it be set to Duration.NONE instead?