moved cv::partition from private.hpp to operations.hpp, to expose the function to users
Merge pull request #3403 from vpisarev:moved_partition
Set status to beta
OpenNI2: prevent failure of setVideoMode() call with invalid parameters

Not all parameters are specified for openni::VideoMode, so
"selected" mode can be unsupported for device.
Replace default VideoMode constructor to result of getVideoMode() call.
openni_capture sample: enable OpenNI2 if available

Sample works with OpenNI2 with minimal code changes (CAP_OPENNI -> CAP_OPENNI2)
PnPRansacCallback::computeError: fix count in case of Nx3 matrices
solvePnPRansac: fix mask generation
Merge pull request #3404 from alalek:openni2_patch
Merge pull request #3405 from D-Alex:master
Merge tag '3.0.0-beta'

OpenCV 3.0.0 Beta