added a to_protocol_name method and use it in __repr__
deprecated calling an Interface (use adapt instead)

use 'adapt' in the tests
refactored SymbolImporter to be a function 'import_symbol'