Cleans up HtmlApiFilter to reduce duplicate code.
Adds more documentation to HtmlApiFilter.
Adds _format=js to HtmlApiFilter.
Adds simple oEmbed support to HtmlApiFilter.
Makes sure that error writing in DebugFilter sets text/html so that's it's properly formatted.