Add logging and address RunAs script output.
An issue with incorrectly gathered output from a RunAs validation script has been addressed. Now all stdout/stderr will be gathered as expected. Additionally, logging has been introduced to capture required information and potential debugging.