support iteration on cursor

as e.g. the django ORM expect this to work
Merge pull request #108 from crate/m/cursor_iter

support iteration on cursor