Allow arguments to Iterator on setIteratorType. Some notes on iterators in README
Extract iterator name validation to its own function