Allow specifying relationship type for batch get_node_relationships

I needed to be able to specify the relationship type for get_node_relationships in a batch request. This commit enables that. It does duplicate some logic, so I'm not entirely happy with the solution.