Exit uncleanly from the grunt process if protractor returns a non-zero exit code

I'm running `grunt` in a container that needs to be told whether testing succeeded by returning a proper exit code, so this does that. Also, I threw in a change to `package.json` that was pushed to RubyGems, but not to the GitHub repository.