Moved the new plugins stuff out into a new static class (greenstone.Plugins) in preparation for extending it to do collection-specific plugins.