Merge 2.4 into master

Original pull requests:

* #1105 from kdrobnyh:Integral-Image-IPP
* #1126 from asmorkalov:winrt
* #1127 from SpecLad:np-1.7
* #1128 from SpecLad:ocl-tr1
* #1129 from vpisarev:revert_bad_qtkit_patch
* #1131 from asmorkalov:winrt_tbb_dbg_fix
* #1136 from StevenPuttemans:bugfix_3157
* #1137 from StevenPuttemans:bugfix_3131_24
* #1138 from janstarzy:mat-dist
* #1141 from apavlenko:fix_warning_unreach_code
* #1145 from jet47:cuda-default-cc
* #1146 from jet47:fix-gpu-without-cufft-cublas
* #1147 from jet47:gpu-sanity-test-name
* #1148 from StevenPuttemans:patch_3125
* #1150 from janstarzy:spelling
* #1156 from StevenPuttemans:bugfix_1873_new
* #1158 from StevenPuttemans:bugfix_3165
* #1161 from SpecLad:xls-comp-bug
* #1165 from vpisarev:24_ipp