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 <joerg.bornemann@digia.com>
Reviewed-by: Ismo Haataja <ismo.haataja@digia.com>
Use consistent line ending for generated pri/pro files.

Fix pri/pro header templates to use CRLF line ending (as all other
generated lines do).

Task-number: QTVSADDINBUG-351
Change-Id: I33f4ddfa929704b01e0a9734d9c945ddbc484319
Reviewed-by: Ismo Haataja <ismo.haataja@digia.com>