fixing bug #3345
fixing bug #3345. don't use BORDER_ISOLATED alone. it should be combined with some border type
fix cross-compilation issue with Numpy
reorder the if's for clarity
fix GpuMat::copyTo method with mask:

fill destination matrix with zeros if it was reallocated
fix message sent to user during cross_compilation
Merge pull request #2175 from vrabaud:2.4
Merge pull request #2188 from jet47:gpumat-copyto-fix
removing duplicated legacy license, the actual instance is in 'opencv/LICENSE'
Merge pull request #2193 from apavlenko:2.4_lic_remove
temporary disabling hanging test
Improvements in package build.
Merge pull request #2197 from asmorkalov:ocv_packaging2
Merge pull request #2194 from apavlenko:2.4_perf_haar_iter
OpenCV C/C++/OCL/CUDA samples install path fixed. Install rools for tests added.
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.
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.