add sphia_iterator_end and support for starting a stopped iterator