Ports: make on() method available on InPorts and OutPorts

Components might want to be able to listen on 'attach' events etc... from their output ports like they do on there input ports.