clean error on missing API host
use ansi pkg to output must() errors in color
use ansi package for log colorization
remove unneeded LineWriter abstraction

ansi package handles turning off colors when appropriate based on the
setting made in main().
move some stuff out into util.go
improve error funcs
log.Fatalf -> printError
add printWarning() so I don't have to revisit this code when adding warning output