Convert to Trigger.io v2.0 module format.

- fix invocation of task:success at the end of API
- add interactive test
- add documentation
- update README
Merge pull request #1 from goodgravy/master

Conversion to Trigger.io v2.0 module format