Add URIUtils::HasExtension(..) functions
Use the new HasExtension(..) function
Cleanup IDirectory::IsAllowed(..)
Merge pull request #2745 from Rawk/add_HasFileExtension

Add URIUtils::HasExtension(..)