WL-3167 Allow users to add doctype.

Users can optionally have a strict doctype added to their HTML to force the browser out of quirks mode and into standards.