Plugin Collection

Now when any plugins are loaded an array list is kept with all the class
loaders for them to be closed at some point. LGM should have its own
shutdown hook that iterates this array and tells plugins to unload
themselves as well.