Add specs on Kernel.#Hash for 2.0 mode.
Implement Kernel.#Hash for 2.0 mode.
Merge pull request #2556 from razielgn/kernel-hash

Implemented Kernel.#Hash for 2.0 mode.