Rename .elements to .iterator.

Scala did this in 2.8 and we should be compatible with the Scala
collections API where possible.

Fixes issue #136.

Review by @cvogt