Reenable tst_QQuickItem::simpleFocus and fix warnings.
Reenable tst_QQuickItem::simpleFocus and fix warnings.

As a result of 1512835ee1425a3e874d2f2dd2b01f1a1ea7b763,
the simpleFocus test now passes on Mac and can be reneabled.
I also took the liberty of making sure windows have a valid
geometry, so that we don't get tons of warnings.

Task-number: QTBUG-24094
Change-Id: I5b8bc82f3f5397110f6e487898d511e810bae59d
Reviewed-by: Alan Alpert <da25f2afbbb946022229108d81aeba0c6b35c5c3@rim.com>

corngood/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,jfaust/qtdeclarative,jfaust/qtdeclarative,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,jfaust/qtdeclarative,qmlc/qtdeclarative,jfaust/qtdeclarative,jfaust/qtdeclarative,jfaust/qtdeclarative,qmlc/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,corngood/qtdeclarative,corngood/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,corngood/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,qmlc/qtdeclarative