Function Optimizations, Fixes for Time Victory

Functions will now use EstimatedEndTurn() instead of MaxTurns() (for
when time/score victory is disabled), tile interceptions now count
according to percentages instead of pure unit count, miscellaneous
optimizations.