SiteSetting file format update for locale override and hidden params based on Rails.env

Days spent for two refactors. Many new lines of spec to ensure locale_default is running and type is enforced for site settings. And all other specs are fixed to this point. The PR is finally ready :wink:

As an aside, I put default_locale in the required category now. And the client side takes the property in object is ordered implicitly that is not guaranteed by the ECMAScript. So the order of site setting panels may result in position change if such thing happened. Anyway, site setting in the client side needs a migration to the new RestModel in the future