Fix detection of byte order marks (BOMs)

Adds dependency on 'commons-io'.
Update Check, ParsedDocument, I18nTestRunnerTest

All charset tests pass.