settings: Configure whole-site caching

Django's caching middleware needs to be enabled to provide whole-site
caching.

I've also copied the default values for the CMS page/menu/permissions
cache TTLs into settings.py to make it more obvious that we can tweak
them.