Fix magento-composer-installer incompatibility

Fixes #12.

In my recent update, I changed 'type' in composer.json to 'library' which is incompatible with magento-composer-installer.

To install a package with magento-composer-installer the package type must be set to 'magento-module'.