Expose locale to plugin developers. Adds BUKKIT-4507