Fix: freeing previous elements has to be done before loading new parameters to avoid trying to delete unexisting objects if arrays size was modified
'master'-like Haar perf test
updated .gitignore
refactoring the test as it should be in 2.4
Merge pull request #2108 from pemmanuelviel:flannMemoryLeak
Merge pull request #2137 from ilya-lavrenov:gitignore
adding `finish()` to flush CL queue, renaming the test to match 'master' branch
Merge pull request #2133 from apavlenko:2.4-perf_haar