Adds a mechanism to exit immediately with no cleanup and also set an exit code. dr_exit_process() can set a code, but always cleans up and thus cannot be called during process init.
Adds a test using a new script runcode.cmake to check the exit code.