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