Fix Travis build.

- Run `make vendor` early to avoid Composer clashing with APC.
- Test on PHP 5.6