MeanshiftGrouping Bugfix (Bug #2685)
enabling sanity checks for warp and resize functions on Android
- add syntetic images generation function to ts
- use generated syntetic images
fixing build warnings
fixed tests (call resetDevice, if there was a gpu failure)
fixes for gpu module:

- fixed printCudaDeviceInfo for new CC
- fixed some compilation errors and warnings
- removed unset command from CMake script
- removed unused std imports
optimizations:

- new reduce implementation (with kepler optimizations)
- saturate_cast via asm command
- video SIMD instructions in element operations
- float arithmetics instead of double
- new deviceSupports function
added more types support for gpu separable filters
implemented Luv/Lab <-> RGB conversion
fixed build for CARMA:

- added CMake toolchain file
- added WITH_NVCUVID flag
ocl::cvtColor support YUV and YCbCr formats
fix canny crash in bug #2279
make ocl module compile on VS2012
Fixed visualization by choosing the color appropriate to the detection

Fixed visualization by choosing the color appropriate to the detection
score.
Previously the example showed all detections with the same color
disregarding the confidence. This led to the impression that the object
detection did not work at all because there are many detections with low
confidences.

PR to master was
https://github.com/Itseez/opencv/pull/320
Merge pull request #321 from apavlenko:warp_sanity_check
Fix debug build of Java warppers
Merge pull request #330 from sromberg:2.4
fixed broken indentation
Merge pull request #331 from taka-no-me:fix_java_debug
Fix ocl build warnings
Merge pull request #332 from taka-no-me:fix_ocl_warnings