Refactor array and NodeArray to accept iterators. POC only.

Still more to do here, but wanted to discuss.  e.g. probably still want to allow Array, and also allow any iterable (object with iterator() method)--could coerce both to an iterator.