fix issue with return code in goveralls script.

return proper code when a failure occurs in the tests.

Fixes #30