Add `Array#to_proc` method for hash access.

Here's a blog post describing how it could be used: http://thepugautomatic.com/2014/11/array-to-proc-for-hash-access/

I believe it's a valuable addition that improves developer happiness and code readability.