Fix release/debug build detection.
Fix release/debug build detection.

Change release/debug build detection from linker setting
GenerateDebugInformation to compiler RuntimeLibrary setting
(debug in case of rtMultiThreadedDebug or rtMultiThreadedDebugDLL,
release otherwise).

Task-number: QTVSADDINBUG-350
Change-Id: If698648f0a2511b0d32a2a123947fb476af518a3
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@digia.com>
Reviewed-by: Ismo Haataja <391161c82ffa2bbb3957f6ad8701582c491da8ea@digia.com>

lakiduo/QtAddin,lakiduo/QtAddin,lakiduo/QtAddin,lakiduo/QtAddin,lakiduo/QtAddin,lakiduo/QtAddin