Introduce a fallback cache based on the file extension for LanguageController…

Authored by mwolff on Dec 29 2010, 5:39 PM.

Description

Introduce a fallback cache based on the file extension for LanguageController::languagesForUrl

This is required to still be able to look into the files to find out their mimetype, without
being too slow. Very important for script languages.

this commit reverts 7641959c5c31636cb9f492e76d0f0a3c8b21a82e