Auto-detect client to use PHPUnit if available. Implements #112