learned more about metaclasses. use them instead of decorator AND class for listeners.

* made plugins able to add events to the event tree.
* changed order of loading: plugins (which loads events as well),plugin listeners (after all plugins load),entities server

TODO: I think I have priorities set up wrong somehow, but have yet to write a test for those...