Reorganize plugin crap

I'm so bored of plugins!!!!

Anyway, this will make cleaning up the (redundant) plugin code easier.

CMake files haven't been tested yet (because my 16GB hasn't arrived yet), can anybody test for me?