Fixed tree constructor parsing rules
expand more by token types
element groups
tagname/namespace matching patterns
More element matchings
expanded dispatcher
auto-merge staging into master