Fix LangUtil.java for 1.7

Just a quick tweak for 1.7 preparation: Resource and ResourceManager now have to be IResource and IResourceManager, respectively.