add cyclic dependency detection to graph extender

By detecting cyclic dependent actions the graph extender can prevent an
infinite extension loop by excluding any cyclic dependent action from an
extension level.