increase epsilon for TVL1 sanity test
(cherry picked from commit 5dff283b39139008923eeb81d0ef5d351ac04522)
increase epsilon for ResizeSameAsHost test
(cherry picked from commit 86e12b607416644ec037ca8b34e4eebc6a585165)
use downscaled frames in FGDStatModel test
(cherry picked from commit 599f5ef51bfb7a9e71a8c4e50a5f942fb2898cdb)
fix BGR->BGR5x5 color convertion
(cherry picked from commit 62f27b28edb6406b6cf8f2c16370187ce8c24e30)
Several fixes for lintian varnings

(cherry picked from commit 634ffed488052efb5cab1fb5cdd90d192f0121a9)
fix CUDA LUT implementation

In CUDA 6.0 there was a bug in NPP LUT implementation (invalid results when
src == 255). In CUDA 6.5 the bug was fixed.

Replaced NPP LUT call with own implementation (ported from master branch)
to be independant from CUDA Toolkit version.
(cherry picked from commit eaaa2d27d5ab334c74c2d10550a6097f437fb297)
Fixed range for 'v' channel for 8U images.

(cherry picked from commit b027eac173ed9bc610f08d12a05c90fde395a07e)
OpenCV version++.
fix cv::gpu::resize for INTER_LINEAR, now it produces the same result as CPU version
(cherry picked from commit da9be8231fc153fd70ac4f4d41091d1653d00fd2)
Fixed getConversionInfo() for YUV2RGBA_* conversions

(cherry picked from commit 023a42ba55859932861f4a849fbec4cf1bd3ead7)
fix CUDA cvtColor after corresponding change in CPU version

see https://github.com/Itseez/opencv/pull/3137
(cherry picked from commit ebe36d6e7c99430b16f61e6b2ee832b91f155ff7)
Fix non-Android cross compilation with OpenCVConfig.cmake

(cherry picked from commit e8376c789d675d9d4b536066320e2981b9981b49)
fix OpenCVConfig.cmake template - missing parentheses
(cherry picked from commit 67b562d543154b29e3b5f8f9c79a03790da40712)
GPU MatchTemplate32F test epsilon increased.