Hoepfully fixed a bug that should make sure snp_stats is finishing.  However, the bug might actually be in making sure the pipeline is finishing.  I guess we'll see.
Put the storage of the search stats into a function and included the function in the things to do if bcbio is complete.
Somehow had two versions of the same things to do if bcbio cleaning complete functions.  Erased one.