Added InputArray for vectors
Merge branch 'for_pr' of https://github.com/f-morozov/opencv into for_pr