Core: Add global customfoot option (so stuff like typekit/googlefont calls can go there instead of the head). Tidy some js for minification.