update for composer on travis-ci configuration and added composer.json