Specs and implementation of Enumerable#to_h, Array#to_h
Merge pull request #3109 from pd/enumerable-to_h

Specs and implementation of Enumerable#to_h, Array#to_h