renamed dg.py to discoursegraph.py
refactoring: replaced edge_type strings by Enum EdgeTypes in all modules.
merging.py: fixed bug in handling stdout