Several transforms added to sample IMFTransform.
Transform selection implemented in sample GUI.

Gistogram output does not work propertly due color conversion problems.
Windows RT sample improved.

Corrent histogram output on YUV image implemented;
Some code refactoring done.
WinRT build fix for samples and static libs.
Merge pull request #1024 from jet47:fix-gpuarithm-compilation
Merge remote-tracking branch 'origin/2.4' into merge-2.4

Conflicts:
	modules/calib3d/include/opencv2/calib3d/calib3d.hpp
	modules/core/include/opencv2/core/core.hpp
	modules/core/include/opencv2/core/cuda/limits.hpp
	modules/core/include/opencv2/core/internal.hpp
	modules/core/src/matrix.cpp
	modules/nonfree/test/test_features2d.cpp
	modules/ocl/include/opencv2/ocl/ocl.hpp
	modules/ocl/src/hog.cpp
	modules/ocl/test/test_haar.cpp
	modules/ocl/test/test_objdetect.cpp
	modules/ocl/test/test_pyrup.cpp
	modules/ts/src/precomp.hpp
	samples/ocl/facedetect.cpp
	samples/ocl/hog.cpp
	samples/ocl/pyrlk_optical_flow.cpp
	samples/ocl/surf_matcher.cpp
removed obsolete methods from gpu::Stream
Add super resolution's OpenCL implementation.
Accuracy and performance tests are also provided.
Let CLAHE_OCL reuse cv::CLAHE abstract class.
Fix build error.
Add opencl implementation of Farnback optical flow.
fix pyrlk
Fix build errors
Fix miscellaneous warnings from compiling with MinGW.

Note that MinGW defines NOMINMAX by default.
multiruns added to avoid the 'unreliable results' error
Merge pull request #1052 from SpecLad:ocl-mingw-warnings
Merge pull request #1041 from abidrahmank:master
Windows RT related code cleanup.

Windows RT sample cleanup.
Video I/O code cleanup.
Merge pull request #1048 from SpecLad:xls-conf
Merge pull request #1045 from bitwangyaoyao:2.4_fix