improve accent test.
Rewrite tree parser.
Commit partial big cleaning of API

* remove tree api parser
* remove/rename a lot of node related functions
Reintroduce the old tree parser in a specific test needing it.