experiment: Shell logger treat \r\n and \r as \n, allow escape char
Equal treatment of newlines will fix issues with software that uses carriage returns as newlines. Allowing escape character \x1b will let Gitlab print colored logs
See tickets T37054 and T37055