A more efficient workaround for erode
Fixed several problems found by PVS-Studio.

This fixes all problems from the article "Checking OpenCV with PVS-Studio"
<http://www.viva64.com/en/b/0191/> that are not already fixed and are
not in 3rdparty or the legacy module.

The problems fixed are two instances of useless code and one instance
of unspecified behavior (right-shifting a negative number).
Issue #2540 : Python bindings for various "detectMultiScale()"
Added Haar cascade for russian cars licence plate detection, 16 stages cascade, pretty fast.
Fixed pyopencv_to w/FLANN IndexParams in python3.

The keys() and values() functions on dictionaries in Python 3 no longer
return lists.  pyopencv_to() for flann::IndexParams now iterates over
the dictionary in a way that is version-agnostic.
icv: enable public IPPICV packages
optimized cv::repeat
icv: fix test eps on Mac for failed perf test
run.py: added --android_env parameter
run.py: propagate OPENCV* env variables only with --android_propagate_opencv_env flag
Merge pull request #2792 from SpecLad:merge-2.4
Merge pull request #2793 from alalek:run_android_env
OCL: matchTemplate: changed perf test
Merge pull request #2788 from alalek:icv_public
opencl opticaflow fix that enables buffer2image extension
2 fixed unassigned reshapes in em (#3674)
Merge pull request #2796 from berak:b_3674_24
Merge pull request #2797 from ElenaGvozdeva:ocl_MT
optimized cv::meanStdDev
perftest for floodfill