Merge 2.4 into master

* #1213 from kdrobnyh:color
* #1236 from pengx17:2.4_fix_retina_color_param
* #1266 from kdrobnyh:core_stat_functions
* #1302 from kdrobnyh:compare
* #1338 from asmorkalov:android_tegra_detector
* #1343 from asmorkalov:android_img_manipulations_fix
* #1345 from pengx17:2.4_tvl1ocl_opt
* #1346 from jet47:gpu-tvl1-optimization
* #1349 from ilya-lavrenov:ocl_perf_finish
* #1355 from jet47:gpu-stereo-multi-gpu-sample
* #1357 from SpecLad:less-precomps
* #1359 from asmorkalov:winrt_tiff_api_fix
* #1360 from vpisarev:24_ipp_dft_canny_morphrect
* #1361 from asmorkalov:winrt_api_container
* #1363 from ilya-lavrenov:ocl_enable_tests
* #1370 from ilya-lavrenov:ocl_decor
* #1371 from HapeMask:fix-png-warnings
* #1374 from zacstewart:2.4
* #1385 from asmorkalov:winrt_glob_fix