catch trait lookup in constructor

closes #5472
move RallyPoint lookup into a Lazy
calculate exitLocation before FrameEndTask

and add more null and dead checks to be safe
Merge pull request #5476 from Mailaender/production-rallypoint-cache

Moved RallyPoint trait lookup into the constructor of Production