Improve composer dependency resolving.
Merge pull request #4 from NoUseFreak/composer

Improve Composer dependency resolving.