CMS-2251 Update RelationshipTypeResourceTest to use json assertion

Update RelationshipTypeResourceTest to use json assertion by extending AbstractResourceTest.
Fixed some RelationshipTypeResource methods to accept JSON.