Add logic to avoid dct:contributor and marc:rel duplicates

See #506.

* update tests
Merge branch 'master' into issue-506-duplicationsContributorRelator