New class to describe MIDI events (plus unit tests)

Added a new class MIDIEvent which - as the name implies - describes MIDI
events. Also added some unit tests for this new class. The unit tests
use the CTest unit testing framework.