add extra option "fail" to provide a handler for when requirejs fails.

Adding a "fail" option to pass to the task will allow for a user to attach their own error handler to the task. requirejs.optimize() will then be passed this "fail" function as its 3rd argument. I like to use supplemental notification systems (i.e. node-osx-notifier) and something like this would prove helpful.