Allow phpunit via composer setup through autodetect.

Allows standalone git checkout + composer update just as the Cake2.x core does it for composer based setups.
This auto-detects the composer one if applicable, otherwise falls back to the global/PEAR one.

Running `php phpunit.phar` or `phpunit` inside the CakePHP folder then works out of the box.