Add asynchronous helper for calling a subprocess

This will spawn a thread to monitor the subprocess and return the
exit code, stdout and stderr.
Domain Controller deployment