Added exit code on error
Changed exit to cli_error
Merge pull request #63 from bbusschots-nuim/140814-courseconfigExitCode

Added exit code on error