Added fix in CMakeLists.txt for contrib module.
Native camera libraries updated.

Android 4.3 support added;
ANY camera index support fixed;
applyProperties now uses camera->reconnect() instead close/connect for Android 4.x.
(cherry picked from commit fff91eef0bd301e791173259ccf884c23397c956)
New Tegra detector with Android 4.3 support added. Manager version++.
(cherry picked from commit aa00b5a0ab3d7289af8ab2006f8521fd3ed17e92)

Conflicts:

	platforms/android/service/engine/jni/BinderComponent/TegraDetector.cpp
OpenCV version++. Current OpenCv version 2.4.6.2
Updated with comments of speclad
Bug #1890 Opencv 2.4.0 with QT 4.7.4 and cvcreatebutton exception fixed.

QVector range check exception fixed.
Initial commit for Conjugate Gradient method

Implementation is based on
http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf

So far we only have basic interface and empty test. But it compiles at
least.
Refined interface for Conjugate Gradient

Some interface was refined (most notably, the method for returning
Hessian was removed and the method for getting gradient was added as
optional to base Solver::Function class) and basic code for
setters/getters was added. Now is the time for the real work on an
algorithm.
switched to new device layer in gpucodec module
Finish implementing the Nonlinear Conjugate Gradient

Now everything is prepared for the pull request.
Minor fixes

Fix failed builds that opencv's buildbot has got.
Applied fix suggested in bug 3282 and shortened code
Added the copyright statements

Added the copyrights missing in all files that required so.
Add cv::logPolar, cv::linearPolar, and a python example
fixed compilation error "ambiguous symbol" on CUDA 5.0:

disabled Texture Reference API for old CUDA toolkits
fixed gridTransform overloads problems
used new device layer for cv::gpu::add
used new device layer for cv::gpu::subtract
used new device layer for cv::gpu::multiply
used new device layer for cv::gpu::divide