Adds tests and includes some cleanup
Also set the default to `collectOutput` where it would parse the output of an addon.
Addons allow to execute external programs in some context inside docspell. Currently it is possible to run them after processing files. Addons are provided by URLs to zip files.