lua.wetgenes.midi.port_create
p = m:port_create(name,caps,type)
Create a port with the given name and capability bits and type.
bits and type are either a number or a table of bitnames.
Returns the number of the port created which should be used in port_destroy or nil if something went wrong.