Convert tests for the port descriptor API to use the new API directly.
Fix compilation on Linux as well as duplicate closing of the ALSA sequencer.
Add tests for the port descriptor API to the documentation as examples.
Update the documentation to reflect the port descriptor API.