Basic skeleton for battle detection.
Add damage to MT_Attacked message.
Basic damage rate tracking.
Factor out updateDamageRate() function.
Implement state change messages.
Switch tracks on basis of battle state.
Move battle state check into OnSimulationUpdate().
Implement peace threshold.
Remove strange duplicate of BattleDetection.prototype.OnGlobalAttacked.
Implement getter for BattleDetection state property.
Move cmpPlayer definition inside if-statement.
Add explanation of alertness calculation.
Clarified usage of StartTimer(), and stop timer if called erroneously.
Grammar fix.
Record damage per timer period rather than per attack.
Indentation fix.
Expand damage rate explanation.
Define damage rate as total damage dealt per unit 'interval' over the previous timer period.
Don't use the carrying animation when a unit is ungarrisoned and it dropped of the resources while garrisoning. Patch by zoot. Fixes #1759.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13073 3db68df2-c116-0410-a063-a993310a9797
Mauryan temple with AO added. Fixed mauryan fortress garrison flag

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13074 3db68df2-c116-0410-a063-a993310a9797