Add HTML test case with UTF-8 BOM (catches ARI-4078).
Strip off BOM before mime-type detection. Fixes ARI-4078.
(also: fix wrong comment on BOM)