[Qt] REGRESSION(r146630): 8 text related test asserts on debug builds

https://bugs.webkit.org/show_bug.cgi?id=113179
Reviewed by Jocelyn Turcotte.

Test if range.start is within the valid range before testing the value at that point.

* platform/graphics/qt/FontQt.cpp:
(WebCore::Font::initFormatForTextLayout):

Change-Id: I4baf6b0d7fbc49f947799deec04be187bd581153
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
QQuickWindowPrivate::setRenderWithoutShowing has been removed from Qt 5

https://bugs.webkit.org/show_bug.cgi?id=114808
Reviewed by Jocelyn Turcotte.

QQuickWindow::grabWindow() has been implemented for isVisible=false for Qt 5.1.
(https://codereview.qt-project.org/#change,54234)

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149667 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Change-Id: Ia99581d147ff7444cc791e937a39fea70f18c0b2
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Merge branch 'stable' into st