fix to synonym and hybrid links, which now go to names tab, and distribution management fixes

Fixes:
- synonyms and hybrid links, which now go to names tab;
- fixes distribution references autocomplete (replaced typeahead with select2)
- fixes distribution references tabs order (defaults to search for reference)