Tweak console colors
console2html: Support more escape codes

Also add an option for plain text output.
arx: Add workaround for clang crash
clangrun: Force colors if running on a TTY
Move log processing to buildstats