Add a profiling middleware so we can profile slowdowns in prod/staging.  To use add DEBUG_PROFILE_MIDDLEWARE_ENABLED to site_settings and append ?prof to the end of any URL