implement hashcode and equals for nodes and rels
added convenience methods for finding nodes based on a relationship type