Exit code now being passed

This was not happening before and would mean that failed executions of
`component build` would not set the status code on the shell.
Merge pull request #298 from ravenac95/exit-code-fix

Exit code now being passed