Detect fastq format logic added

Hi Rory and Brad, 

I've added fastq format detection, and yaml validation on the  quality format. Let me know what you think.

Thank you, Alla