fix relationships() to have start/end node

- incoporate cypher query to include rhs nodes and incorporate those
nodes into the returned relationships.

task #8107266289875