Tidies hashCode and equals on Post and Thread.

Change-Id: Ic99f3f302da977b5718b038d43db2296e5ba7e40