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