Implement opening ALSA output ports.
Fix port handling of old port handling.

This was broken as we use ALSA addresses to store port ids, now. These
are stored as unsigned values.
fix sendMessage which got an error.
Adapt qmidiin to the new API.