Implimentation "cv::Mat::forEach"

I propose forEach method for cv::Mat and cv::Mat_.
This is solution for the overhead of MatIterator_<_Tp>.

I runs a test that micro opecode runs all over the pixel of cv::Mat_<cv::Point3_<uint8_t>>.
And this implementation 40% faster than the simple pointer, 80% faster than iterator.
With OpenMP, 70% faster than simple pointer, 95% faster than iterator (Core i7 920).

Above all, code is more readable.

My test code is here.
    https://gist.github.com/kazuki-ma/8285876

Thanks.
ARM NEON accelerated implementation of cv::addWeighted, cv::inRange and cv::compare functions.
NOT verified on target platform, compilation passes with and without NEON.
Revert optimization for warpAffine INTER_NEAREST mode
Fixed rounding in remap INTER_LINEAR mode
Fixed calculate_histogram kernel
Fixed extrapolation in pyrDown
Fixed issue: Mat::copyTo(UMat) if device copy is obsolete. Added test.
fixed tests for ocl_filter2d, ocl_matchTemplate, ocl_histogram.cpp
fixed nDiffs for CalcBackProject
Fixed choice of kercn and rowsPerWI for non-Intel device.
some formal changes (generally adding constness)
fixing Mac build
fixing error, wrong template method param.
Merge pull request #3044 from akarsakov:fix_ocl_tests
Fixed typos
fixed test ocl_MatchTemplate for sparse matrix
fix IOS framework
fix binary package build
small fix for GaussianBlur ocl test
Merge pull request #3062 from alalek:fix_ios_framework