[php5] Use composer autoloader in test bootstrap.

Partially extracted from #277