Fix travis build

* Updated composer packages
* Fixed linting
* Make sure only master is used for production deployments