Replace complex totalRepairTime logic with Math.max()
Replace _this.totalRepairTime() with local var totalRT
Adding rough outline for new building autoupgrade
Merge branch 'cleanup' of https://github.com/jnwatts/NewCustomFlunikTools

Conflicts:
	166833.user.js