Add keyBy method to Collection
Merge pull request #4828 from JosephSilber/collection-keyby

Add keyBy method to Collection