updated .travis.yml and composer.json/lock

I updated those files so instead of having to require+update during build, the only thing to do is install (I put them into the require-dev since they were only in the build script AFAIK)

I also added --optimize-autoloader, this is a try to see if the build time speeds up a bit