only display colors if output medium supports colors

 - make piping possible/easier (no color-code replacement necessary)
 - make commandline output from non-tty not have distracting escape sequences