safesystem with stdout and exit code capturing

New utility function that does the same thing as safesystem only with captured outputs. It's possible to get STDERR as well but I'm not convinced that'll be super necessary.

Testing seems stable, wasn't sure if it was good to return a symbol or a string but I guess in the event of large STDOUT a symbol makes more sense.