Set exit code to 1 when something goes wrong.
Merge pull request #156 from malclocke/exit_code_1_on_failure

Set exit code to 1 when something goes wrong.