MYST3: Fix pointer to local variable issue.

Fixes coverity issue #1195422.
GRIM/EMI: Add proj/view matrix calculation to GfxBase
EMI: Implement WorldToScreen
EMI: Implement changing line enpoints
EMI: Draw primitives last. Fixes #906
EMI: Save and restore animation states. Fixes #902