Fixed bug in OneToOne relationship class that prevented relationships from being deleted
when PUTting a different ID on an endpoint, fixed type instantiation bug in
RelationshipFactory, fixed several bugs in StaticRelationshipResource.