Simpler report event
Enable range detach
Pass editor as last parameter to handlers. Set empty functions to () -> undefined
Drop offStates, rename onStates to states.
Merge pull request #24 from burlesona/simpler-plugin-events

Simpler plugin events