Re #7879. Remove VectorHelper::iteratorToArray methods.

Replaced in the one remaining place it was used with standard STL
constructs. Not sure why they weren't used in the first place.
Merge branch 'feature/7879_remove_iteratorToArray' into develop