Added TreeAnalyzer to jdb ns and to dll. Added unit test for it.