Fixed severe bug in AbstractRelationship that caused relationships to be created with the wrong
direction when using the setStartNodeId() method. Fixed bug in StaticRelationshipResource that
caused relationships with the wrong end node type to be returned. Removed unused Endpoint class.
Merge branch 'develop' of github.com:/structr/structr into develop