Small fixes with references in spawner
Encapsulates system calls in checked calls
Removes unnecessary shared pointer out of the children vector
Adds parameter processing for mains
Removes unnecessary anonymous namespace for main definitions
Removes unneeded this references
Implements signal handlers for process termination