Add ANSI coloring of diagram when outputting to terminal

Controlled with new diagram options --color and --no-color:

--no-color forces coloring off, else --color forces coloring on, else
we turn on coloring only if stdout is a tty.

Signed-off-by: Johan Herland <johan@herland.net>