fix ktest colorful output printing for non-ANSI terminals (issue #368)
Merge pull request #379 from osa1/ktest-fixcolors

fix ktest colorful output printing for non-ANSI terminals (issue #368)
fix mistaken merge conflict
Merge branch 'master' into unified-builtins2