Demultiplexing for different index configurations

Please @ b97pla, could you review this pull request? It implements the demultiplexing and fastq.gz generation for different index configurations.