Improved the travis configuration

This switches to the Docker-based infrastructure (and backports PHP versions changes from the master branch
Switch to stable dependencies on Travis
Merge pull request #1702 from stof/stable_deps

Switch to stable dependencies on Travis
Merge branch '1.3.x'

Conflicts:
	.travis.yml
	composer.json