add Enumerable#each_cons
add Enumerable#each_slice
add Enumerable#group_by
Merge pull request #1047 from skandhas/pr-add-methods-to-Enumerable

add Enumerable#each_cons/each_slice/group_by