Filters belongs_to associations by :class_name if specified

Added logic for the removal of the correct relationship, when multiple rels exist with the same predicate. Added spec.

Added class matching to belongs_to associations