Issue #1301040 by Gábor Hojtsy: Move language listing functionality from locale.module to a new language.module.