Fix purge() so it also works with APCU, and switch purge() to use the built in APC function to clear the cache.