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.
Should this return a non-zero code when it fails to find the command in the Scripts dictionary?