[4.2] Collection : add keys() function that returns the keys of the items

Add `keys()` function to collection. To return the keys of the Collection items as an array.

Closes https://github.com/laravel/framework/pull/4680