Support terminal color codes in the log viewer

I use ascii terminal color codes for colored output in the terminal in my unit testing framework shown below. osTerminalWithColorCodes

I would like for the in-game lua console (f10) to support terminal color codes, so that the output looks better. Currently the output just shows the string literal as shown. debugConsoleNoColorCodes