it: simplified list mgmt routines

Also added dnet_iterator_list_next_id_nolock() for finding next
available id for iterator.