Split ui_util.c into ui_(colors|listing|logwindow|textinput).c

The file was getting somewhat large and there was a logical separation
of interfaces already.
strutil.c: Fix error in str_offset_from_columns() with multicolumn char

The function would return one character too many if there is room for
one more column and the character that follows happens to span multiple
columns.