Filters belongs_to associations by :class_name

Added class matching to belongs_to associations

Added logic for the removal of the correct relationship, when multiple rels exist with the same predicate.

Please see the following hydra-tech discussion for more information - https://groups.google.com/d/msg/hydra-tech/dKu91YW2nk8/3yXuTl974FIJ