Change lint so that process only exits on failure.

When using grunt-contrib-yuidoc with the lint option, the lint exits the process, ending the Grunt build even on success. This change only exits the process when an error is detected in the linting.