WIP Cartridge Refactor - Use gear combined env when calling hooks

* Layer the active cartridge environment variables over the gear and other cartridge variables.