CMakeColors.cmake: Use colors only if stderr is an interactive terminal.

In particular, do not write ugly escape sequences to log files.

Fixes #124.
Merge pull request #137 from kkofler/fix-issue-124

CMakeColors.cmake: Use colors only if stderr is an interactive terminal.