Packaging on all platforms and out of the tree build

Kees...
This implements the same build and packaging system to which we are slowly but surely migrating all the other plugins.