WIP Added pluginInstaller class, making this a plugin

(not sure if it's really needed, but it is there in the latest composer docs...)

Todo:
* [ ] test that it works