problem view: faster implementation of resizeColumnsToContents

For large documents with lots of problems, switching the file
has a noticeable delay, caused by computing lots of size hints.
We can avoid that by using a heuristics instead.
1 job for !132 with faster-problem-view in 42 minutes and 47 seconds (queued for 2 seconds)
latest merge request