Fix for composer plugin BC break

New composer plugin support breaks backwards compatibility for plugins of type 'composer-installer'.
Related to https://github.com/phpDocumentor/phpDocumentor2/issues/1035
Merge pull request #7 from siad007/patch-1

Fix for composer plugin BC break