Refactor of Gitlab::Shell to hopefully make it more readable & testable.  Wrote tests for some Gitlab::Shell & Gitlab::CLI::Helper methods.  Other minor improvements and refactors.