Fixes segfault when clearSelection() is called with a new instance of FileDialog
Added semi-colon to make it build
Midi: added constants for pitch bend
New header file Pitch.h for pitch-related data types and helpers
InstrumentTrack: fixed midiPitch() and added midiPitchRange()
Midi: added constants for Register Parameter Numbers (RPN) support
AutomatableModel: do not change init value when adjusting range

This causes e.g. the default value of the pitch model to be changed
when changing the pitch range.
InstrumentTrack: replaced numbers by newly introduced constants
InstrumentTrack: coding style fixes
InstrumentTrack: send RPN update in updatePitchRange()

When changing the pitch range all we can do for MIDI is to update the
MIDI pitch bend sensitivity RPN even though this is only supported by
some MIDI instruments.

Closes #129.
Sf2Player: update pitch wheel sensitivity based on pitch range

Fluidsynth supports setting the pitch wheel sensitivity, therefore make
use of it and set values from the recently introduced pitch range model.
ZynAddSubFX: default pitch wheel bend range to 100

Even though ZynAddSubFX does not support pitch wheel sensitivity RPN
events and thus we can't update the pitch range from LMMS automatically,
at least default to 100 semitones pitch wheel bend range so behaviour
is consistent with default pitch range in LMMS.
InstrumentTrack: fixed range for pitch model
OpulenZ: added pitch bend range MIDI message handling
Merge pull request #167 from softrabbit/stable-0.4

OpulenZ: added pitch bend range MIDI message handling
Merge pull request #166 from wongcc966422/fileDialogSegfaultFix

Fixes segfault when clearSelection() is called with a new instance of FileDialog
InstrumentTrack: removed compat code for loading old projects

We should not need compat code for project files < 0.4.x anymore.
Anybody who wants to load project files made before 2008 is advised to
open them in LMMS 0.4.x first and save them so they get upgraded.
InstrumentTrack: more coding style improvements
NotePlayHandle: added property to track origin

Using the origin property we can track where a NotePlayHandle instance
originates from (Pattern, MIDI, ...) and build new functions around this.
InstrumentTrack: manage MIDI note recording in NotePlayHandle

We must not record notes when receiving external MidiNoteOff events
as e.g. the sustain pedal still might be pressed. State tracking for
features like these is done inside NotePlayHandle so move the recording-
related signal emission from InstrumentTrack to NotePlayHandle.

Closes #168.