Make CDirectory::Exists support use directory cache by default.
Merge pull request #2496 from ulion/check_dir_exists_use_dircache

Make CDirectory::Exists support use directory cache by default.