implement BaseIter for dlist (removing iter-trait)

Closes #2827
auto merge of #5287 : thestinger/rust/iter-trait, r=pcwalton

Closes #2827