Added iter_pending() to portmidi.Input and ports.IOPort.