Detect terminal support before attempting colorization

Fixes #3.

Change-Id: Icd4539fa91d1f12fb44427f38886aeea5ae5d9a4
Reviewed-on: https://gerrit.causes.com/23501
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Greg Hurrell <greg@causes.com>