cli: add color facility

with the --no-colors switch or on redirected output the use of any
colors is disabled.

self.format on Command will translate {=<COLORNAME>} into a colorcode.