Add some basic helpers for working with ANSI colour codes, and make strWidth and the various string layout functions aware of them.