If building fails exit immediately with an error code

'frank build' returns the same error code as the xcodebuild execution
does.
Merge pull request #201 from akikoskinen/exit-build-with-error-code

If building fails exit immediately with an error code