Add index and index' to List.

Follows the pattern of head, tail, and other partial functions in Prelude.List.