make color logging depend on TERM environment

The colouring of the logging must honour the terminal sequences. it would be an overkill to use terminfo and such so i suggest to use a hardcoded list of terminals that support the hardcoded sequences.

drawback: `adb logcat` wont show any color. another solution would be to have a config setting for this.