Fix input method committing
Fix input method committing

On mobile devices the virtual keyboard would in some situations not have
words committed yet - this leads to the last word after a space being
cut off when querying for the text property.

Change-Id: I23d81154f3bed1dd287f24c3c5f958cf4335475c
Reviewed-by: Jens Bache-Wiig <9cea9d70b08f8210134ec5959114f72bad51ed1d@digia.com>

mizukusak/qtquickcontrols,drgvond/qtquickcontrols,kobolabs/qtquickcontrols,drgvond/qtquickcontrols,drgvond/qtquickcontrols,kobolabs/qtquickcontrols,mizukusak/qtquickcontrols,kobolabs/qtquickcontrols,mizukusak/qtquickcontrols