add `last` and `nth`

similar to head and tail, add:

  • _arrayLast(data)
  • _queryLast(data)
  • _listLast(data)
  • last(data)
  • _arrayNth(data, n)
  • _queryNth(data, n)
  • _listNth(data, n)
  • nth(data, n)
Edited by Ryan Guill