Improvements to each helper

Now the `each` helper provides `@first` and `@last` variables, and `@index` is passed as an int, instead of a string.