Add callbacks for both successfull and failed events

Hi,

Thanks for this module, it's working great for me.

I think it would be very useful (at least it is for me), to be able to specify callbacks for the success/fail events.

I look forward to hearing your thoughts on this.

Best Regards,
Javier