simplified the build process and removed composer.lock

There is no reason to keep the composer.lock file in the repo as
other projects requirering this library will not use the locked versions
anyway. This should also fix the erroring travis build.

I also removed unnecessary code from `.travis.yml`.