Webclient: extend TextWrapper utility (#505).

The js.TextWrapper class has 2 new methods:
    - get_size() -- returns the size of the wrapped text's bounding box
    - get_line_height() -- returns the line height (as passed to the constructor)

This supports writing topicmap renderer customizers.

See #505.