Hook the BackgroundHTMLParser into the real parser

The test included in this patch crashes, but that's progress of a sort.