Fix cmake to build OpenCV framework on OSX
SSE4.1 optimiation of cv::Moments CV_16U
fixed perf test
corners
Openni2 support
Function for drawing arrows

Porting the [PR 2970](https://github.com/Itseez/opencv/pull/2970) To the new InputOutputArray type
Merge pull request #2933 from ilya-lavrenov:sse_moments
Merge pull request #2979 from PhilLab:patch-2
Merge pull request #2925 from BloodAxe:osx-framework-script
Merge remote-tracking branch 'origin/master' into Openni2Support

Conflicts:
	modules/highgui/CMakeLists.txt
	modules/highgui/include/opencv2/highgui.hpp
	modules/highgui/include/opencv2/highgui/highgui_c.h
Openni2 support
Fix build errors with cap_v4l on Linux
Merge pull request #2986 from vbystricky:videoio_fix
Merge pull request #2960 from ilya-lavrenov:tapi_perf_fix
Add depends from highgui to imgcodecs and videoio. And include header from imgcodecs and videoio to imgcodecs
Merge pull request #2961 from ilya-lavrenov:tapi_corners
Fixed ippiDFT call
Merge pull request #2995 from ElenaGvozdeva:ipp_DFT
Merge pull request #2919 from larshg:Openni2Support
Merge pull request #2990 from vbystricky:highgui_split2