Fixed OutEdges bug, improved graph query tests and added graph->graphcomponents algorithm