GRIM/EMI: Add proj/view matrix calculation to GfxBase
EMI: Implement WorldToScreen
EMI: Implement changing line enpoints
EMI: Draw primitives last. Fixes #906