added equals() and hashCode() functions so that collection removal is easier
Merge origin/master
changed the equal method of rating so that if two ratings are from the same user to the same post the they are equal
fixed relations and dependencies