_.partition: include index and and array arguments in the predicate

Includes the index and a reference to the array in the arguments of the predicate. This allows for more ways to partition the data. One example is by odd and even array indices.