Add more plugin events

As discussed on the [mailing list](https://groups.google.com/forum/?fromgroups=#!topic/beets-users/IeYzMqFMFb0), I added 2 more events: `database_change` and `cli_exit` to beets.