finished off write_midi.py enough that it can output MIDI files given the test answer format used for lilypond tests
finished off write_midi.py enough that it can output MIDI files given the test answer format used for lilypond tests

calebsmith/sebastian,jtauber/sebastian