[ticket/12507] Add console command to purge the cache

https://tracker.phpbb.com/browse/PHPBB3-12507

PHPBB3-12507