Merge pull request #318 from kwantam/master

fmt: Knuth-Plass implementation; common: add unicode char_width function
fmt: update use of *T to *const T