analyzer: use an enum for StartMode and add comment make intentions clear
analyzer: use an enum for StartMode and add comment make intentions clear

Change-Id: I10d78ad0dd8d410206fc0109b6a3d2b447404553
Reviewed-on: http://codereview.qt.nokia.com/1242
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: hjk <6fac1c92f5b9c7890a04d7f8a9d8912d16355eac@ovi.com>

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