HtmlToolbarHelper::makeNeatArray should treat Iterator instances as Array

HtmlToolbarHelper::makeNeatArray should treat Iterator instances as Array