implement remote spawning (BSAL_ACTOR_SPAWN)

A significant part of the code for this feature
was pushed in 6d1ed644a. But while working on
the BSAL_ACTOR_SPAWN feature, I discovered a bug
(a race) which I had to track down.

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