Better detection of ANSI escape codes support [closes #18]

This also solves the issue of colors not printing in RingoJS, as
mentioned by @mathiasbynens in #15.
Merge pull request #19 from d10/patch-1

Better detection of ANSI escape codes support [closes #18]