Support HTML import of SugarCube-based stories

I saw there is a modular header effort being done by greyelf. SugarCube edit and output support should go there, but I think import support belongs in the base code instead, since there is no detection of the header done on import and the header of the story being imported into might not match the header of the imported HTML.