Improve selectize.js API typings

- Make event handler types less restrictive
- Add a use case for this in tests