ICF detector improvements

by Vlad Shakhuro for Open Source Computer Vision Library (OpenCV)

Goal of project — improve existing implementation of ICF+WaldBoost detector in terms of quality and speed.