create a sample composer.json

because unable to write directly into a composer.json file inside
travis.yml