Added a new helper mappedEach

`mappedEach` maps `$index`, `$first` and `$last` on the array or cursor you pass in.