Added an official function for page-specific HTML hooks, as well as more hooks for scripts, stylesheets, and per-page PHP configuration.  Work-in-progress on getting sufficient general-infrastructure to support the figure-drawing slideshow.