CR for Job #20140 - Add Overlays.getTextWidth

Code Review for Job #20140 - Workitem available at https://www.worklist.net/20140
TextOverlay::textWidth() should be a const method.