html: add the before_head state (HTML5 insertion mode)