Don't crash when stopping MIDI and fix bugs as seen
Don't crash when stopping MIDI and fix bugs as seen

 - Fix ALSA midi bugs on systems with more than 1 MIDI device
 - Fix issue where MIDI devices were not saved
 - Add a mac build to Travis

jnetterf/satie,jnetterf/satie,jnetterf/satie,jnetterf/satie