Conversion to Trigger.io v2.0 module format

- fix invocation of task:success at the end of API
- add interactive test
- add documentation
- update README

You may want to keep this this is a feature branch for now, as the layout of the files is incompatible with the v1.4 plugins you're currently working with.