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)
Also you might want to clone before defaulting to avoid side effects.