teachpack dialog improvements

a) if two teachpacks have the same name, use more of the module path structure
to differentiate them

b) make the teachpack dialog better cope with teachpacks that have conflicting exports