Use the correct normals for maya exports with more than one mesh

Includes a few other minor refactorings. Fixes #5252
Merge pull request #5259 from sgrif/sg-maya-update

Use the correct normals for maya exports with more than one mesh