Changed exit-code for errors in binary execution (#1350)

Errors now return -1 instead of 1 like PHP does. This is
checked for the following error conditions:

- Fatal error
- Parse error
- Uncaught Exception