Makes it possible to configure what actions a step will process.

I have added a parameter to AbstractProcessStage that can be used to configure what document actions that will be processed by a stage. The default is as before, in other words all actions. I also did some refactoring of the tests so that they no longer uses multiple threads.