Implementation of pattern ParallelSplit. Add a few helpers for counting connections.
Include parallel_split in the PatternExtractor after fixing tests. Clean up code in a test helper.