MSVC: Fix parser
MSVC: Fix parser

 * Fix parser to handle error message send in by a user
 * Add unit test

Change-Id: I3b37ada49ef3737261211ac41ae80504b2a767fa
Reviewed-on: http://codereview.qt.nokia.com/23
Reviewed-by: Kai Koehne <077bc265216106fb22408e62f2d97925ede69d10@nokia.com>

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