More work on model scene rendering

* more refactoring of renderMeshes to remove the shader program selection and to allow entire scenes of models to be rendered with a single shader selection.

* optimization of endScene() to only select the shader once per model group.

* optimization of the modelsInScene loops to not attempt to render models that don't have meshes for that particular shader type