treat objects that provide a valueOf() method as primitives in deepEqual
Merge pull request #2 from broofa/master

Patch for Issue #59