Using travis way of installing dependencies with composer

Travis php boxes now ship with build-in composer, so there is no need to download it.

You also had some legacy code in there to make sure `install --dev` works properly. This is not needed anymore due to some changes by composer (see https://github.com/composer/composer/issues/640).

This PR should be save to be merged into master also.