Add FASTQ splitting by sample id to qiime.util

This is needed for qiita.  @antgonza and @gregcaporaso suggested adding the functionality to QIIME instead, so here it is!
Created #1676