Allow tuples in addition to lists in _index_list/document calls

Not all the way to duck-typing, but tuples should be just as iterable as lists.