Skeleton plugin fixes

When developing a new plugin, it might be nice to *be able to compile and load* the skeleton plugin.
These patches are:
* Adding a cmake file which can be reused for other plugins
* Fixes the build function to match the pfw naming convention