Front/back camera constants semantic for Android fixed (Bug #2839).

Front/Back camera constants' values changed;
Additional camera facing check added for JavaCameraView.
Merge ocl and/or/xor operators into one kernel each.
Eliminate the need of ::testsing::ValuesIn() for CV_ENUM

Also cv::, cv::gpu:: and cv::ocl:: namespace prefixes can be safely omitted
inside CV_ENUM and CV_FLAGS
Let wave_size=1 on CPU.
Add clamping for y dimension.
fixing build and lint warnings
Merge pull request #822 from taka-no-me:better_cv_enum
Merge pull request #825 from pengx17:2.4_query_cpu_wavesize
Merge pull request #826 from pengx17:2.4_canny_clampfix
Redo the Sphinx check to do the same thing on all platforms.

This also fixes the bug where the Sphinx version gets detected as
"Sphinx vX.Y.Z" instead of "X.Y.Z" on Unix-like systems.
Merge pull request #817 from pengx17:2.4_ocl_bitwise_cleanup
Merge pull request #829 from SpecLad:sphinx-ver-1
Fix a bug found on Intel OpenCL SDK.
use float when sum overflow
Front/Back camera semantic support added to Android VideoCapture back-end.
Merge pull request #843 from pengx17:2.4_stereobp_fix
Merge pull request #844 from bitwangyaoyao:2.4_integral
Merge pull request #827 from apavlenko:fix_android_tutorial1
Merge pull request #800 from asmorkalov:android_cam_idx_semantic