Add TabAliasManager to map between currently active tab id and corresponding tab id in histree
bugfix on adding tab aliases.
Fix tree tests to work with tabAliases.