Merge/port many updates from antlr/stringtemplate4
Fix AutoIndentWriter producing extra '\r' in line wrap
Updated C# ST4 port to latest reference code