Exec refactoring

Remember to merge https://github.com/appium/appium/pull/4103 after this.
```js
var wrapArgs = cmdOpts.wrapArgs !== false;
```
or maybe

```js
var wrapArgs = !!cmdOpts.wrapArgs;
```