Support for MIDI meta events

Also now correctly parses the end of track event.
Allocate memory when appending strings (if necessary)
Fix heap corruption when sending multiple VST events
Larger buffer sizes for analysis tests
Better syntax for defining application tests

Also add a test for rendering MIDI with a VSTi synth
Fix memory leak with va_list