[3D] add support to change the stereomode via builtins
[3D] add stereo mode handling to JSONrpc