Fix cache-delete.

Django-cms loops through all active users to delete all the permission
cache when publishing a page. Inststead of doing this, we now delete the
permission cache by deleting all cache entries according to a specified
pattern.