Implement sys_game_process_exitspawn and fixes

Implementation is missing a lot of this: passing arguments, environment variables and data copying.
But it basically works.