(FACT-150) Extract command execution base class
(FACT-150) Implement Ruby 1.9 command execution

This implements command execution that takes advantage of Ruby 1.9
process functionality. If a command is executed and #exec is terminated
unexpectedly this code will wait for the child process and only the
child process to prevent zombies.