Change Relationship to use standard polymorphic pattern

* Previously it was done differently than all the other Mapping objects.
Merge pull request #574 from reciprocity/feature/fix-relationship-relationships

Change Relationship to use standard polymorphic pattern