allow ansi output to be forced using ANSICON environment variable

requiring isatty is too restrictive to determine if the terminal supports ansi, but actually determining ansi support is a pit of snakes, so this respects one environment variable that indicates it ala https://github.com/django/django/blob/master/django/core/management/color.py and thereby allows you to force it on if necessary