Shared server setting access
Server settings are stored and accessed differently in the client and in the server. Introduce primitives for server setting access that works both in client code and in server code. The plan is to build more complex access on top of them.
Only access to the common (non value type specific) part of a setting is included here.