Adding an equal method (==) according to the spec

For a better understanding of how exactly choices are made.
Merge pull request #1 from Ralt/patch-1

Adding an equal method (==) according to the ECMA5 spec