QmlJS: Clean up completion logic.
QmlJS: Clean up completion logic.

To avoid '/' triggering a global completion and improve code
readability.

Change-Id: I0cdb8efb159199156a766982db8979ee987f414b
Reviewed-by: Leandro T. C. Melo <8f144cd741810d8c7b648cacf5b9b2f4e2ebcc1b@nokia.com>

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