change GetMaxHealth to GetBaseMaxHealth

Quests that had HP restriction were calling GetMaxHealth instead of
GetBaseMaxHealth, so some quests were failing when they shouldn't.
Truce Fix

The system improvement needed an extra object parameter pass for truce.
Allow meditating Meditate, but not double imps

Can improve Meditate itself via Meditate, but doing so prevents the
bonus Meditate imp from spending the points (to avoid double dipping
imps).
Reformat util.kod

Just cleaning up code, no changes.
More time for Riija quests, lower quest recent time
Stop logging or phasing to remove last attacked time

The 'last attacked time' count no longer runs down while phased or logged out.
Formatted code in rescue.kod and elusion.kod; was originally going to
modify these but went with the current solution instead.
Fix invalid window overlay addition

RefreshPlayerVisualGear in player.kod was trying to set a non-existent
overlay for torches, if they were used with a soldier shield. Prevented
it from doing this.
Merge branch 'FixTruce2' of https://github.com/GarOfMeridian/Meridian59_103 into build.1.0.384-req.673-br.FixTruce2-auth.GarOfMeridian
Merge branch 'fixquesthp' of https://github.com/skittles1/Meridian59_103 into build.1.0.384-req.671-br.fixquesthp-auth.skittles1
Monster mana and spell changes.

Added monster spellbooks, moved mana handling from player/monsters to
battler.
Changed how mana bomb affects monsters.
Added a new RangedAttackChance for ranged mobs to use instead of the
AdjustedChanceBase which spells use.
Changed shatter out for brittle in avar shamans and ma'xeochicatls.
Mana bomb resource improvements
monster.kod comments