Drop default text/html doctype sniffing. b=985

This moves the old doctype-sniffing behavior to being a
non-default option that's only exposed through the REST API.