add admin annoucement when debug mode is on

We dont really want people running production sites in debug mode.
better to make it clear its on
rename debugFooter to debug_footer for consitency
tidy up hooks for cron