add tests for WebPathResolver::clear
move CacheManagerAwareInterface out of WebPath