Transforms the compile plugin into the new style (function instead of class).
Merge pull request #376 from typesafehub/wip/compile-plugin-rework

Transforms the compile plugin into the new style (function instead of cl...