Simplify saveBundleOrTestRun:
Simplify saveBundleOrTestRun:

Summary:
There's un-needed wrapping of errors that makes messages too verbose. Additionally splitting each of the methods to make this a simple conditional dispatcher.

This can then be re-used in saveBundleOrTestRunFromBaseDirectory.

There's also now a more specific error in the invariant case of not being the right bundle.

Reviewed By: zeyadsalloum

Differential Revision: D15352312

fbshipit-source-id: 680d117dd5a9ba308165a9546af5a4b835842ff3

facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl,facebook/FBSimulatorControl