Rewrote BasePort.__repr__().
Changed default value of port name to '' and simplified EchoPort a bit.
Changed default value of name back to None (repr shows '') and
Changes default value of name back and removed _get_device_type().