Use --prefer-source for composer install

Makes builds more stable on Travis CI
Merge pull request #369 from fabian/composer-source

Use --prefer-source for composer install