Added EventBuffer

Added the EventBuffer to AuxFunctions as well as updated MidiOutB to use
it and created a more general MidiOutB to make full use of it.