Tweak tests

Require phpunit for --dev, use the vendor bin, remove the composer.lock
file.
Also composer update before running tests and use travis_retry, in case it fails.

BTW, I don't know if you have setup your Travis webhook for Git? That can be added easily and will make the tests run on every PR/commit.