add helper callGetIteratorRange

It is a simple helper function that allows to retrieve a range of
element from an iterator
Merge remote-tracking branch 'fdecampredon/master'

* fdecampredon/master:
  add helper callGetIteratorRange
Fix up a few spacing/type names.
v0.3.0