qmldump: Fix creation of objects from QDeclarativeTypes.
qmldump: Fix creation of objects from QDeclarativeTypes.

Previously, the import statement was not necessarily set up correctly
for the type we wanted to instantiate. We simply use
QDeclarativeType::create now and thus can skip finding the right import.

Change-Id: I545ef690dd6181f5b7a49bcb2018aaba4b60d5a5
Reviewed-on: http://codereview.qt.nokia.com/1646
Reviewed-by: Roberto Raggi <5b38c5be65ca2d75b92c40e91029e90f276fd4fe@nokia.com>

malikcjm/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,colede/qtcreator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,colede/qtcreator,syntheticpp/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,jonnor/qt-creator,dmik/qt-creator-os2,danimo/qt-creator,kuba1/qtcreator,malikcjm/qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,xianian/qt-creator,azat/qtcreator,farseerri/git_code,darksylinc/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,danimo/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,richardmg/qtcreator,farseerri/git_code,xianian/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,colede/qtcreator,maui-packages/qt-creator,richardmg/qtcreator,KDE/android-qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,farseerri/git_code,malikcjm/qtcreator,martyone/sailfish-qtcreator,omniacreator/qtcreator,maui-packages/qt-creator,syntheticpp/qt-creator,colede/qtcreator,kuba1/qtcreator,danimo/qt-creator,xianian/qt-creator,richardmg/qtcreator,darksylinc/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,danimo/qt-creator,jonnor/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,colede/qtcreator,dmik/qt-creator-os2,azat/qtcreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,jonnor/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,jonnor/qt-creator,malikcjm/qtcreator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,dmik/qt-creator-os2,azat/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,danimo/qt-creator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer,syntheticpp/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,richardmg/qtcreator,KDE/android-qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,KDE/android-qt-creator,ostash/qt-creator-i18n-uk,farseerri/git_code,kuba1/qtcreator,maui-packages/qt-creator,malikcjm/qtcreator,amyvmiwei/qt-creator,dmik/qt-creator-os2,KDAB/KDAB-Creator,farseerri/git_code,Distrotech/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,hdweiss/qt-creator-visualizer,Distrotech/qtcreator,dmik/qt-creator-os2,omniacreator/qtcreator,azat/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,colede/qtcreator,martyone/sailfish-qtcreator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,danimo/qt-creator,jonnor/qt-creator,richardmg/qtcreator,Distrotech/qtcreator,syntheticpp/qt-creator,maui-packages/qt-creator,azat/qtcreator,richardmg/qtcreator,hdweiss/qt-creator-visualizer,duythanhphan/qt-creator,azat/qtcreator,KDE/android-qt-creator,duythanhphan/qt-creator,jonnor/qt-creator,duythanhphan/qt-creator,hdweiss/qt-creator-visualizer,ostash/qt-creator-i18n-uk,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,omniacreator/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,bakaiadam/collaborative_qt_creator,ostash/qt-creator-i18n-uk,danimo/qt-creator,bakaiadam/collaborative_qt_creator,xianian/qt-creator,KDAB/KDAB-Creator,kuba1/qtcreator,omniacreator/qtcreator,dmik/qt-creator-os2