Support filtered writing of MDF and DST files
Adds filtered MDF and DST writing in single-threaded jobs. Tests this in HLT1 by writing a filtered MDF/DST file and then running the same HLT1 configuration over that filtered file, verifying that the numbers of read and selected events are equal.
Towards #55 (closed).