Return the exit code in ScriptExecutor

Solving issue #987

Now the exit code from the script in project.json need to be zero to ensure a successful build/pack/restore.
Do we really need this if it's only ever used in 1 place?

```if(process.ExitCode != 0) {```

It's not like that value ever changes...