Augment escapeString to fix downlevel template literal emit.
Fixed issue where old-Mac newlines don't work in harness.
Added multiline tests.
Moved position increment in scanner; removed confusing comment.
Merge pull request #1341 from Microsoft/escapingTheTemplateOfDoom

Template string escaping fixes