is_directed_acyclic_graph now returns false on undirected graphs rather ...

...than raising NetworkXError. Tests updated to expose old behavior and verify change.