Fix comparison objects.

Regexp and Date objects can to be deep equal to objects with the same type.
Merge pull request #169 from katsgeorgeek/topics/master

Fix comparison objects.