Core Runtime: Fix Property and Value equality

Fix the spotted bug and make equals/hashcode behaviour uniform accross
PropertyInstance, AssociationInstance, ManyAssociationInstance and
ValueInstance. Transients, Entities and Services remain untouched.

Assertions are in PropertyEqualityTest, AssociationEqualityTest and
ValueEqualityTest.