include git revision in version information

- define version also when building with scons.
- update and shorten version to '2014' for the time being.
only try to execute valid mididings patches

try to actually build a patch object instead of just checking the value's type.