Edges now properly get their join conditions. Also added a QueryGraph::print method.