[PLUGIN] make old style event registering and new style play nicely together
[CORE] prevent the same plugin to register multiple times for the same event
[EVENTS] use list instead of set to ensure ordering + check for uniqueness before appending
Merge pull request #1 from thomasleveil/event-hooks

Event hooks