PHP setup for Travis:

- install a sane PHP 5.x for travis since there is none by default on a Ruby VM.
- clean up PHPUnit-based tests for better portability.
Merge pull request #1331 from wilmoore/travis-php-bootstrap

install php5 for travis since it is not installed by default on Ruby VMs