rewritten several functions from calib3d: findhomography, findfundamentalmat, findessentialmat, estimateaffine3d, computecorrespondepilines, convert points{to/from}homogeneous to C++.
reverted dangerous change in _InputArray::size()
several minor fixes proposed by Andrey
some more minor fixes
reverting changes in Homography kernel function. For some reason GCC on Linux does not like it.
mask.create() re-converted to new style
Merge pull request #592 from vpisarev:c2cpp_calib3d_ptsetreg