Added the infrastructure to run the first (non-asserting) test of directory patch creation

  Old patch genration code for folders is now working in some capacity since it
  had some leftover bugs and syntax errors. The test can now apply the patches
  but the assertions have not been added yet. System exec call was extracted to
  a method to get stdout and stderr but for folders this was not working
  properly since xdelta3 was getting too many arguments so the code is
  extracted but the figuring out of why Open3 is not passing the parameters
  correctly needs to be solved. Given that xdelta3 uses some custom arg parsing
  code that's gnarly, it's possible that it is the reason for these failures.