only perform color lookup for colored terminals
Merge remote-tracking branch 'origin/bugfix-3' into bugfix-4

Conflicts:
	blessings/tests.py

apply @as_subprocess pattern to the fixes made in bugfix-3