Fixed MATLAB bridge

MATLAB bridge.hpp was missing definition for Ptr<DenseOpticalFlow>
Merge branch 'master' of https://github.com/Itseez/opencv
DownhillSolverImpl::innerDownhillSimplex something looks broken here:
Mat_<double> coord_sum(1,ndim,0.0),buf(1,ndim,0.0),y(1,ndim,0.0);
nfunk = 0;
for(i=0;i<ndim+1;++i)
{
y(i) = f->calc(p[i]);
}
y has only ndim elements, while the loop goes over ndim+1
Updating missed defines in documentation

Updating missed defines in documentation. The new defines (in imgproc.hpp) state they have a prefix of COLOR instead of CV.
Updated and added haarcascade_mcs*.xml files
Update global_motion.cpp

An extremely rare case where, for numeric reasons bestM finds more inliers than ninliersMax. 
This RARE case causes memory corruption and a nasty seg fault.
Changing #include to generic video.hpp

Per https://github.com/Itseez/opencv/pull/2783#discussion_r13573590
Update MatchTemplate_Demo.cpp
Merge pull request #2850 from Sekunde:master
Merge pull request #2845 from shaibagon:patch-1
Merge pull request #2828 from otsedom:updating_and_adding_haarcascades_mcs
Merge pull request #2799 from 23pointsNorth:patch-1
Merge pull request #2784 from saree90:bugfix_Simplex
Merge pull request #2783 from daferna2:master