[TEST] test also cached control path
[NOP] fix checker warnings
[INTERNAL] only copy those peptides and proteins that are used in the relevant SWATH
[FIX] fix batch size

- do batches on peptide level (otherwise we separate transitions
  belonging to the same peptide)
- also consider case where batchSize > number peptides
[FIX] cppcheck proposed fix
TODO