Merge pull request #41 from internetarchive/ARI-4010

Allow XML declaration to appear before head-insert
Merge branch 'refactor/jsp'

Conflicts:
	wayback-core/src/test/java/org/archive/wayback/archivalurl/FastArchivalUrlReplayParseEventHandlerTest.java
More fixes for https://webarchive.jira.com/browse/ARI-3985
Merge branch 'ari-3985' into ait-qa
Resolve conflicts.