Styled formatters

I had to develop this for https://github.com/OCamlPro/ocp-index/pull/43, it's actually quite handy and I think better than "markup" strings.

I suppose a buffer-like interface for styled text would be useful here, but this seems sufficient.