Graph traversal now uses the filter callback provided to decide whether to visit a node
Added a flag for relationships for tagging which cyclic backlinks

This flag is set to indicate that a node appears to be causing a cyclic
dependency which can be ignored...
Cleanup of flags for relationships
When traversing graph, ensure that relationships tagged to be ignored are ignored