QmlJS: Don't use full mime type detection to decide between qml/js.
QmlJS: Don't use full mime type detection to decide between qml/js.

Determining the mime type is too expensive - and for deciding between
qml and js files comparing suffixes is sufficient.

Reviewed-by: Friedemann Kleint

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