Loosen checks for PHPCPDTask/PHPLocTask.

This makes these two tasks work correctly when phing is run from composer (and hence, composer's autoloader is used in place of include_path).
The patch is based on a previous pull request by @joshuaspence (see #195)