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)
@jlipps no defaults only handles undefined. Earlier code had a comment for null so thought to handle it explicitly.