Tweak tests

Add phpunit 3.7 to --dev vendors and use the vendor bin from phpunit. Also use
travis_retry in case composer errors, and update before installing.