CMS-2251 Update RelationshipTypeResourceTest to use json assertion

Update RelationshipTypeResourceTest to use json assertion by extending AbstractResourceTest.
Fixed some RelationshipTypeResource methods to accept JSON.
Merge pull request #390 from enonic/CMS-2251

CMS-2251 Update RelationshipTypeResourceTest to use json assertion