Fix gruntfile to deal with error codes in jasmine-npm