CR for Job #20140 - Add Overlays.getTextWidth

Code Review for Job #20140 - Workitem available at https://www.worklist.net/20140
Sorry, what I meant was it should look like this:

float textWidth(unsigned int id, const QString& text) const;

That tells the compiler to enforce the promise that textWidth() will not change the internal state of the Overlays class.