Copy ocl::queryDeviceInfo interface from master to 2.4.
Affected functions surf.ocl, pyrlk.ocl and hog.ocl are updated with the change.
add accuracy tests while running perf
fix the waring in gemm test
fix a warning
'aapt' tool moved in SDK r22, adding support to run.py
Simple set of the camera index to allow the user to change it after the object has been initialized.
Fix the mismatch on NV GPUs
Merge pull request #895 from bitwangyaoyao:2.4_perf
Merge pull request #882 from pengx17:2.4_rewrite_query_info
Merge pull request #902 from apavlenko:fix_run_py
Merge pull request #905 from bitwangyaoyao:2.4_TVL1
fix parenthesis
Merge commit 'b51a1a7d' (PR #895 from 2.4)

Conflicts:
	modules/ocl/CMakeLists.txt
	modules/ocl/perf/perf_color.cpp
	modules/ocl/perf/perf_match_template.cpp
	modules/ocl/perf/precomp.cpp
	modules/ocl/perf/precomp.hpp
Merge pull request #904 from ograycode:2.4
Merge pull request #914 from SpecLad:master
Fix a build error which manifests when building with CUDA < 5.
Merge pull request #917 from SpecLad:cuda-4-build
Merge pull request #911 from jrdi:patch-1
Merge remote-tracking branch 'origin/2.4' into merge-2.4

Pull requests:
	#904 from ograycode:2.4
	#905 from bitwangyaoyao:2.4_TVL1
	#902 from apavlenko:fix_run_py
	#882 from pengx17:2.4_rewrite_query_info

Conflicts:
	modules/nonfree/src/surf.ocl.cpp
	modules/ocl/include/opencv2/ocl/private/util.hpp
	modules/ocl/src/hog.cpp
	modules/ocl/src/pyrlk.cpp
	modules/ocl/src/tvl1flow.cpp
Merge pull request #921 from SpecLad:merge-2.4