Adds hooks to the ToolPageContext.writerHeader to inject arbitrary HTML into the <head> via writeHeaderAfterStyles and writeHeaderAfterScripts.