Add API + tests for Swarm

Swarm will be adding another format for abundance (size=X) at some point. If the users have large files already de-replicated, it would be faster to pass them directly rather than having to de-replicate them again. However, for now as we can't distinguish between abundance and simply IDs with '_', probably better to remove this option.