New battler AI framework, initial work on items

The AI subsystem is now much nicer to use and no longer exposes the
innards of the underlying BattleUnit to the strategy routine, minimizing
the chance of internal errors being triggered by the gamedef.  Also did
some preliminary work towards implementing items.  Additionally, some
refactoring was done on the stat growth subsystem.