allow installation using magento-composer-installer

[https://github.com/magento-hackathon/magento-composer-installer](magento-hackathon/magento-composer-installer) can automatically copy/symlink magento extensions into the installation, but requires a "type" key and for it to be declared as a dependency in composer.json