#1007 added caching to prevent duplicate directory scanning

Some of the classes passed to addDirectoryContainingClassToPHPUnitFilesList in PHPUnit_Util_GlobalState::phpunitFiles() can resolve to the same directory. If this is a large directory (eg. in my case the pear/PHP directory that was processed 3 times), this duplicate scanning will cause delays that can be avoided.