This commit imports `GenericGraph`, its tests and fixes some related issues in `FilteredGraphTraits`.