[TIDOC-1125] Fix jsduck generator to add deprecation field for events
Merge pull request #4214 from bhatfield/tidoc-1125

[TIDOC-1125] Fix jsduck generator to add deprecation field for events