Opal.hash accepts plain object as argument

When interfacing with Opal, it's quite natural to want to create a Hash from a plain javascript object.

Since `Opal.hash({key: 'value'})` currently returns a useless value, I modified it to return the desired hash.