Implementation and test for keys function.
each - iterate collection passing: obj, index to callback

Prev version wasn't passing index