Allow XML declaration to appear before head-insert

XML declaration triggers head-insert, which results in XML parse error while replaying XHTML pages. FastArchivalUrlReplayParseEventHandler must allow preamble and PIs appear before the head-insert.
Fixes ARI-4010.