fix(hoodie.task): triggers 'success' event right before 'error'

fixes #307

* * *

This commit was sponsored by The Indie Tech Summit where
200 people will meet to discuss sustainable & ethical
alternatives to corporate surveillance & launch the
Indie Tech Manifesto in Brighton, UK on July 4th, 2014.

http://go.hood.ie/indietech-summit
Merge pull request #307 from hoodiehq/307_hoodie_task_trigger_bug

hoodie.task triggers 'success' event right before 'error'