Add @first and @last data variables to #each helper

This is a pull request for adding @first and @last data variables to the #each helper.  The implementation is as described in issue #483 along with basic tests .

@first returns true during the first element of the array, otherwise false.
@last returns true during the last element of the array, otherwise false.

Let me know if you have any feedback,
Thanks,
Dennis