Fix association of kits with auto-detected debuggers

Task-number: QTCREATORBUG-10379

Change-Id: I515da97e6f6ac079590c9d91317ed32b5194a12a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
CPlusPlus: Compile fix in manual test

Change-Id: If34b564b55ef3e76cb5696ed30220d64b256d607
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Qt4ProjectManager: Remove unused constants

Change-Id: I1d4457d65b736c876f1c1cc66c23921250c09380
Reviewed-by: Daniel Teske <daniel.teske@digia.com>