Added filtering function to read_fastq()

read_fastq accepts an optional filtering function that limits which
FASTQ records are yielded.