Make nth return default value when out of bounds
Include optional arg in docs (nth)
Merge pull request #641 from microamp/issue-638

Fix #638: Make nth return default value when out of bounds
Rename slots to attribute/attr