add API call to use a random spawner

Link: https://github.com/GeneAssembly/biosal/issues/622
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>