CMS-2094 Create Relationship.ts and RelationshipJson.ts

Added Relationship and RelationshipJson TS interfaces and
tests for it.