Support for running as daemon under *nix
When the API is started as daemon it quits/fails.
Assumption is this is due to SWI's expected environment during runtime / when starting as default REPL with stdio (case at hand: this student-project for which @klaus.stein tried to run a stripped version of the API in a docker container).
Thinking ahead on what might be a problem:
We deliberately ignored anything related to multiuser/threading issues, so could it be possible for the container to be configured s.t. it spawns separate isolated daemon-processes if needed? @klaus.stein
(I know this is not all that needs to be considered...)