we now exit with 1 if an error has been logged.
Merge pull request #46 from npm/exit-codes

we now exit with 1 if an error has been logged.