OpenCL version of cv::buildPyramid
Code review notes fixed.

Env setup for testing package implemented using /etc/profile.d;
Variable with path for all native samples added;
Path for test binaries and test data updated.
refactored imgproc
Merge pull request #2207 from ilya-lavrenov:tapi_macro
Merge pull request #2209 from asmorkalov:ocv_test_install
Merge branch '2.4' into blur_border_isolated
fixing bug #3345. use norm to make sure two matrices are the same.
fix #3477:

CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING property is not supported
by all VideoCapture backends. Some backends can return 0.0 or -1.0.
Merge pull request #2097 from pclove1:blur_border_isolated
Merge pull request #2205 from jet47:bug-3477-fix
Merge pull request #2211 from SpecLad:merge-2.4
Added returnDFVal parameter to parallel CvSVM::predict function
Added ocl_Mog2
fixed
Merge pull request #2213 from ilya-lavrenov:tapi_buildPyramid
Multiple fixes for tests deb package build.

Added opencv_testing.sh.in file;
opencv_testing.sh installation guarded by OS check.
Merge pull request #2215 from asmorkalov:ocv_testpack_fix
fixes for defects from code coverity
optimized createHanningWindow
fixed warnings