[3D] allow interfaces to change the stereoscopic mode of the gui

what title says. This allows our interfaces (JsonRPC and builtins) to set the GUI stereo mode. For JsonRPC it's also possible to get the currently applied stereomode + a list of all supported ones. The later is especially useful for remotes.