Added support for equals and hashCode to node wrapper objects

https://www.pivotaltracker.com/story/show/51105715