[WIP] Add pre-archive-dump-cmd support

Uses changes done in composer/composer#3053 to be able to execute build scripts before archives are generated.

Resolves composer/satis#153