Oops: we don't want to expose programs extension
mt32emu: Add writeMemory call

This is useful for restoring saved states without having to
emulate SysEx commands.
Implement state:interface extension

Allows restoring and saving state, used for example
in qtractor.
README.md update
Move common definitions to common include file