Refactoring startApp to add callback as a parameter and removing redundant varaibles

-Refactoring startApp to add callback as a parameter and removing redundant varaibles.
-Related to [#2026] (https://github.com/appium/appium/issues/2026)
isn't this handled by the default case above?