Added peers/pool to hashCode + test for them

Few simple changes. Added peers and pool to the hashCode calculation, and added a test to verify results.  This will also throw a stack overflow error if thing1 is in a list of thing2.
@SterL @JamieWohletz @ankenmanp @moquin101 @Kimmsudenver @stevilstick