Alsa midi

work in progress there should be two commits in this branch - 
The first adds the MFMidi_update function to the main event loop.
The other is the code for the alsa midi driver which I will be appending