Return exit code from doRun

Exit code was not returned so travis for example did not report about failed specs. This PR fix the it.
Merge pull request #92 from l3l0/patch-1

Return exit code from doRun method