improve thumbnail caching

avoid disabling the cache when the access control has no rules in the
THUMBNAIL context
Merge pull request #411 from kaltura/IX-9.4.0-thumb-cache-access-control

improve thumbnail caching