Implemented win/loss state in Survival Mission

- Moved Timer.js code into Utility.js
- Implemented survival mission primary objective win/loss handles