Add a test case catching ARI-4010: XML parser error due to head insertion before XMLDecl.
FIX allow XMLDecl to happen before HTML.
Fixes ARI-4010.
Merge pull request #41 from internetarchive/ARI-4010

Allow XML declaration to appear before head-insert