FEATURE: refactor notice code, add optional global notice.

Set the global_notice site setting to notify users of a critical event.