Make document.Register takes an array of strings.
Fix regexps.EolRx for newlines eol detection.
Add normalizeString() and test.
Add splitSimpleCsv() and tests.