implemented gt_scaffolder_graph_isterminal: check if there are edges with different directions
fixed bug in gt_scaffolder_graph_isterminal