Expose TreeDAGMap and DAG class and add unit tests to the two classes
Remove textNodes in XML files
DAG#generate-reverse-iterator
Include xml in karma tests
Fix syntax & filename errors in spec
Implement Valiente but it seems buggy. Tests not passed.
Found the implementation mistake and fixes the unit test.