Fix scoping issues when evaluating $vpt, $vpr, $vpd.
Match gimbal camera orientation with values shown in GUI.
Setup camera distance for both perspective and orthogonal mode.
Update camera settings for camortho test and update reference image.
Merge pull request #856 from openscad/fix-viewport-scoping

Fix viewport variable scoping