fix(doc-processor): handle errors thrown in processors better

The doc processor should now provide better logging of errors that occur inside individual doc-processors.
In addition, if the new `config.processing.stopOnError` is set to true (default: false) then the processing will stop at the processor that failed.