The is_tree() function has been correpted to check the "directness" of the input graph
with the appropriate is_directed() function.

With this change, graph of the class MultiGraph can be correctly recognised as tree too.
The test suite has been modified accordingly