Client: Refactor genericExecutor for easier testing.
Client: Refactor genericExecutor for easier testing.

ooyala/atlantis-manager,ooyala/atlantis-manager,budhrg/atlantis-manager,budhrg/atlantis-manager