Fixed potential leak in DevTest.c and added car file support.
Moved hmp file code into hmp.c and fixed some bug.
Moved internal mdi code into internal_midi.c.
Moved midi file code into midi.c.
Moved code related to patch settings into patch.c.
Moved code related to samples into samples.c, however some of this will need moving into gus_pat.c.
samples.c is where sample management code will go when we support multiple sample formats.
patch.c is for patch data management and will need to be modified at some point to support multiple sample formats.
Added midi file output support.