Locale export for meteor server environment

The global scope might be node (`global`) or `this` (window or other), so detect in all language files. Implements #1946.