Don't use the file contents to determine the mimetype in the language…

Authored by zwabel on Nov 25 2010, 3:41 PM.

Description

Don't use the file contents to determine the mimetype in the language controller. This could lead to huge UI lock-ups when there were many non-code files contained by the project directory.