Implemented 'to' node queries for iterating edges.
Also applied a workaround for Ektorp throwing JsonMappingException when calling 'hasNext' on a streaming iterator for an empty resultset.