Add events tutorial to documentation #1917
This adds an Events tutorial to the documentation and links all individual event doclets to it. Also fixes the issue of links to events not actually being links.
Also ensures that the docs generated after a new version is publish on npm are part of the version commit that is pushed to the repo automatically.
There was no example of how to use events, so it was a bit confusing for new users to figure out how to add event listeners for them.