string valueview will now also resize when setting text via value() etc.

This fixes a bug in wikibase where clicking edit, then pasting lots of text, then clicking cancel,
would not resize the box to fit the original text which will be re-inserted.

Change-Id: Ic42a57ad6d73a813967f373385f7491354940fba