[WIP] Frontend cache invalidation

This pull request adds support for automatically purging pages from a frontend cache (varnish, squid, etc) when a page is updated or deleted.

It works by sending a "PURGE" requests to the cache server causing them to be removed from the cache.