Debugger: Rework matching of debugger item and target
Debugger: Rework matching of debugger item and target

The general idea is to find an item that matches closely what
is stored in the kit information, but also accept item based
on toolchain matching as fallback with a lower priority.

Change-Id: I41a00562fa4308eb834d853865c41873ef362bd8
Reviewed-by: Orgad Shaneh <2b010cbad792a0c0a8175f752f93f83941fc6bc1@gmail.com>
Reviewed-by: hjk <f81b91af79013637d070c18d38a75b90eaae8ba3@nokiamail.com>

Distrotech/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,Distrotech/qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,danimo/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,maui-packages/qt-creator,kuba1/qtcreator,kuba1/qtcreator,farseerri/git_code,xianian/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,maui-packages/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,farseerri/git_code,farseerri/git_code,farseerri/git_code,xianian/qt-creator,farseerri/git_code,kuba1/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator