Require composer-plugin-api

This is needed to make the plugin work. 

See https://getcomposer.org/doc/articles/plugins.md#plugin-package.
Merge pull request #2 from kasperg/master

Require composer-plugin-api