WIP: split libraries from SFFs

Design is to support:

* SFFs
* fasta
* fasta and qual

Specific parameters such as barcode type will be sourced from db. Finalizing this will require touching a few other areas of the codebase and a db patch, which I'll get to as they become necessary.

~~**This is not tested, and not mergable yet**~~
Thanks, this was reported by a user and I was going to try to find how to reproduce it.