Added sample processes that can process collections.
Added pipelineManager member to PipelineProcess.
Added shutdown of subprocess threadpools.
Refactored ProcessableQueue. Renamed it to ItemQueue.
Added StateChecker interface and some kind of default implementation.